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.