You need to sign in to do that
Don't have an account?
LinThaw
How can I get Users who can access the current record from apex?
Hi there,
How can I get users who can access the current record from apex,
look like this standard Sharing Hierarchy Page as below.
Is there easy way to get them rather than using shared object, group, groupmember and userrole.
Thanks for any suggestion.
Regards,
LinThaw
How can I get users who can access the current record from apex,
look like this standard Sharing Hierarchy Page as below.
Is there easy way to get them rather than using shared object, group, groupmember and userrole.
Thanks for any suggestion.
Regards,
LinThaw
Have you tried to query the object directly with something like
SELECT Id, Name, UserRecordAccess.HasReadAccess, UserRecordAccess.HasTransferAccess, UserRecordAccess.MaxAccessLevel FROM Account
Reference: https://salesforce.stackexchange.com/questions/175/can-i-find-out-if-the-current-user-has-access-to-a-record-without-querying
Hi Swetha,
That query is for current user access for the account record.
I want to get all users who have access the account record.