Query the Record Sharing of each User for the Record #inSalesforce
Example for Account
SELECT Id, AccountAccessLevel, RowCause, UserOrGroupId FROM AccountShare WHERE AccountId = '0015g00000MT1d4' ORDER BY UserOrGroupId
_ Id AccountAccessLevel RowCause UserOrGroupId
AccountShare 00r5g0000298a5iAAA All Owner 0055g00000Be4LMAAZ
AccountShare 00r5g00003cOFSOAA4 Read Manual 00G5g000001Cjf0EAC
AccountShare 00r5g00003jkbuhAAA Read ImplicitParent 00G5g000001Cjf0EAC
AccountShare 00r5g0000202Sf2AAE Read PortalImplicit 00G5g000001CkFBEA0
AccountShare 00r5g00003cOFSNAA4 Read Manual 00G5g000003WaygEAC
AccountShare 00r5g000015MsbNAAS Edit Manual 00G5g000003WayqEAC
Comments
Post a Comment