You need to sign in to do that
Don't have an account?
davidesi
How to know who has access to a record
Hi,
I need to know which users has access to an opportunity or an account.
I know that using the table UserRecordAccess I can know if a specified user has access to a specified record, but I would need to konw all the users who has access to a record.
Is that possible?
Thank you very much
I need to know which users has access to an opportunity or an account.
I know that using the table UserRecordAccess I can know if a specified user has access to a specified record, but I would need to konw all the users who has access to a record.
Is that possible?
Thank you very much
{!$ObjectType.Account.accessible}
In Apex (see Understanding Apex Describe Information):
Schema.DescribeSObjectResult accountDescribe = Account.sObjectType.getDescribe();
System.debug('accessible:' + accountDescribe.accessible);
If its helps, please mark as best answer so it will help to other who will serve same problem.
Thanks!
You can check it by referring UserRecordAccess object. Already similar thread available in stackexchange. Please take a look,
http://salesforce.stackexchange.com/questions/175/can-i-find-out-if-the-current-user-has-access-to-a-record-without-querying