XrmDefinitelyTyped
XrmDefinitelyTyped copied to clipboard
Add Security Roles to the retrieved context
There are use cases where certain security roles should have elevated access/privilege to some fields on a form and currently this is done through comparing the users security roles with a string. This can cause issues if the security role is renamed or deleted which will not be detected in the code.
XrmDefinitelyTyped should fetch security roles as part of the retrieved context to allow asking if the current user has the a specific privilege when forking on a form or part of a form