07/رجب/1433 05:19 مIf you are supposed to use AssociateRequest to give a user a security role, how do you remove a security role from a systemuser?
09/رجب/1433 05:07 ص
The Security role can removed by following steps
then select a user, select a Security role tab --> select the role and select the Remove role tab
12/رجب/1433 05:15 م
Thanks, but I know how to do it via the UI. I'm looking for how to do this programmatically.
However, I was looking for the opposite class to the AssociateRequest Class, which is DisassociateRequest Class. What's odd is that a search of the internet does not reveal this fact. I had to pop open the Micorsoft.Xrm.Sdk assembly to find that it does in fact exist. There is no link to it from the AssociateRequest class in MSDN, which I find odd as well.
Hopefully this helps someone else looking for info on how to do this.
- تم وضع علامة كإجابة بواسطة D. Yates 12/رجب/1433 05:15 م