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,…
Continue Reading Nishant Rana’s Article on their blog
D365 CE: Get Logged in User’s Security Roles using JavaScript
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.
Blog Syndicated with Nishant Rana’s Permission
More About This Author
Array
Dyn365CE2022.05.19Filter rows and Trigger Conditions in Power Automate
Dyn365CE2022.05.18Fixed – Unable to process template language expressions for trigger. In the template language function ‘convertToUtc’, the value provided for the time zone id ‘Gulf Standard Time’ was not valid while using Delay Until property– Power Automate
Dyn365CE2022.05.17Fixed – Invalid template. Unable to process template language expressions in action. Template language expression cannot be evaluated: the template action is not defined in the current scope (Power Automate)
Dyn365CE2022.05.16Fixed – Authorization failed. The client with object id does not have authorization to perform action ‘Microsoft.Authorization/roleAssignments/write’ over scope ‘/subcriptions’ while configuring Azure Synapse Link for Dataverse