web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Nishant Rana’s Weblog / D365 CE: Get Logged in User...

D365 CE: Get Logged in User’s Security Roles using JavaScript

Nishant Rana Profile Picture Nishant Rana 11,325 Microsoft Employee
Originally posted on Ajit Patra:
Many times we come across requirements such as show/hide ribbon buttons based on logged in user’s security role. Earlier, we used to get security roles of logged in user at client side using Xrm.Utility.getGlobalContext().userSettings.securityRoles which used to return array of GUID value of each security role. Now that it’s deprecated,…

This was originally posted here.

Comments

*This post is locked for comments