Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Users added to a team with roles

$
0
0

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


Viewing all articles
Browse latest Browse all 46379

Trending Articles