Hi All,
We have a requirement to retrieve the security roles assigned to app in Dynamics 365 using Javascript. I would like to check if there is any way to do this using Javascript on form save.
I know we can get the properties of current business app using Xrm.Utility.globalContext.getCurrentAppProperties(). But I couldn’t find a way to get the roles assigned to the app. Any help is greatly appreciated.
Thanks in advance.
Hi,
appmoduleroles is the intersect entity where roles assigned to model driven app is stored..
You can query this table using web api
Hi Jenny,
Unfortunately, there is no way to achieve this. You could post an idea here to progress this feature:experience.dynamics.com/.../
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156