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
Nilesh ManeNilesh Mane 

How can we see user and group sharing (sharing detail) for a record ?

Hi,

 

Can anyone tell me, How can we see user and group sharing (sharing detail) for a record ?

Please reply, its urgent.

 

Regards,

Neel.

Jia HuJia Hu
SELECT RecordId, HasReadAccess, HasTransferAccess, MaxAccessLevel
FROM UserRecordAccess
WHERE UserId = [single ID]
AND RecordId = [single ID] //or Record IN [list of IDs]

check the doc:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_userrecordaccess.htm
Nilesh ManeNilesh Mane

On salesforce UI , where can we see the option for "user and group sharing"?

Jia HuJia Hu

In the Record detail page, you can see a button 'Sharing', click the 'Sharing', you will see User and Group Sharing of the Record.