In one of the requirement, I need to show and hide some sections, tabs, fields on the basis of Security Roles of the logged-in user.
This method Xrm.Page.context.getUserRoles() returns an array of GUID of security roles.
Then I will have to make OData query to get the name of security roles, Is there any other way to achieve this?
*This post is locked for comments
I have the same question (0)