We can use RetrievePrincipalAccess function in Web API to get the access rights of either a user or team on a specific record. The sample code: Result: Hope it helps..
Continue Reading Nishant Rana’s Article on their blog
Sample code to use RetrievePrincipalAccess Function to get the access rights of the team or user in Dynamics 365 CE
We can use RetrievePrincipalAccess function in Web API to get the access rights of either a user or team on a specific record. The sample code: Result: Hope it helps..
Blog Syndicated with Nishant Rana’s Permission
More About This Author
Array
- Dyn365CE27 March 2024Fixed – VS402356: You do not have the permissions required to perform the attempted operation on this process (Azure DevOps)
- Dyn365CE26 March 2024Using Union function to remove duplicates – Power Automate / Dataverse
- Dyn365CE20 March 2024Fixed- The XRM workflow table row could not be found error (Power Automate)
- Dyn365CE19 March 2024How to – use booking rules for validation checks in Dynamics 365 Field Service