Does anyone know if it is possible to retrieve the user's roles programmatically (JS or Plugin) if the user is configured in the following ways:
1. Team "Sales Rep" is assigned the security roles X,Y and Z.
2. The user Joe Blog is assigned to the "Sales Rep" team.
3. Joe Blog is not assigned any roles.
If I were to query Joe Blog roles using code (using Dynamics-365-Workflow-Tools - CheckUserInRole OR using Xrm.Utility.getGlobalContext().userSettings.roles), will I see his assigned roles X,Y and Z?
Anyone?
a2z