Hi all,I have a record in case object ,Now How to know the number of users have read/write permission on this record..( through reports or soql is fine)
Below link answers your query:
Also,you can do this with SOQL:
SELECT RecordId, UserId ,MaxAccessLevel, HasAllAccess, HasDeleteAccess FROM UserRecordAccess WHERE RecordId = 'YYY' //Where YYYY is the Record Id of the case //You will get the list of all user Ids over here.for more details on UserRecordAccess:
if our suggestion(s) worked, let us know by marking the answer as "Best Answer" right under the comment. This will help the rest of the community should they have a similar issue in the future. Thank you!
Form your query iam facing many errors ...
For assistance with SOQL, visit the Developer Community (https://developer.salesforce.com) where you will find the complete SOQL Documentation and many, many sample queries.