
Hi do you know how to query Users or teams thas have access to a record by "Shared record" option? is there a function for that or I need to use "principalobjectaccess" entity? using JavaScript
Thanks.
Hi,
You need to use a RetrieveSharedPrincipalsAndAccessRequest. Here more information:
RetrieveSharedPrincipalsAndAccessRequest Class (Microsoft.Crm.Sdk.Messages) | Microsoft Docs
If this was helpful, please check it as verified to help others finding useful information.
Welcome to this amazing community.