Reputation: 883
I need to get the security roles which are associated to the current user in CRM Online. How do I do this using JavaScript?
Upvotes: 4
Views: 3668
Reputation: 18895
Use the Xrm.Page.context.getUserRoles() function.
Xrm.Page.context.getUserRoles()
Upvotes: 6