You need to sign in to do that
Don't have an account?

Opportunity Sharing model via API
Hello!
I need to access sharing for an opportunity via a custon controller. Currently if I query
[SELECT OpportunityId, UserOrGroupId, OpportunityAccessLevel, RowCause FROM OpportunityShare WHERE OpportunityId = '006Z00000xxxxxx']
I only get the sharing as per "Opportunity Sales Team". Is there a way where can I get all the user who have read/write to that record? Just like in the UI, when you hit Sharring >> Expand List..
thanks
Mitesh