Remove Member from Security Role
Remove the specified user from the specified Security Role.
Input Parameters
User Name |
String |
Yes |
User name used to authenticate to the Office 365 web service. |
Password |
Password |
Yes |
Password used to authenticate to the Office 365 web service. |
Role Name |
String |
Yes |
The name of the Security Role to remove a user from. |
User Email Address |
String |
Yes |
The email address of user to be removed from the Security Role. |
Output Parameters
Result String |
String |
In the event the object fails to execute successfully due to invalid/incorrect input, this output will detail the error. |
Result |
Number |
Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
User Name |
String |
Yes |
Office365Admin@ABC.onmicrosoft.com |
Password |
Password |
Yes |
<link to start parameter> |
Role Name |
String |
Yes |
Company Administrator |
User Email Address |
String |
Yes |
User1@ABC.onmicrosoft.com |