function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Silabs AdminSilabs Admin 

Opportunity Sharing model via API


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..