Hi everyone.
Is it possible to get information about what kind of privileges a Security Role has in a C# code?
If it is possible then is it possible to know the level of privilege (User, Business Unit, Organization...)
Thanks.
Hi,
Please refer to the following links which may help you.
(+) Retrieve All Privileges for a Security Role in C# - Microsoft Dynamics 365 Community
RetrieveRolePrivilegesRoleRequest Class (Microsoft.Crm.Sdk.Messages) | Microsoft Docs
If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.
Best Regards,
Nya
Muhammad Shahzad Sh...
51
Most Valuable Professional
Ramesh Kumar
42
David Shaw_UK
27