Hi,
I want to get the user roles of the current logged user!
Say User has two roles A and B assigned directly via Manage roles options and have some indirect roles say C assigned via that team that the user belongs too.
Now the User will have three Roles AB(Directly Assigned )C(Indirectly assigned via- Team).
Now I want to get the roles AB(Directly assigned) only. Using "Xrm.Page.context.getUserRoles()" i am getting all the roles the user have.
How to achieve it, any suggestions?
*This post is locked for comments