Add Member to Security Role

Add the specified user to a Security Role.

Input Parameters

Name Type Required Description
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 add members to.
User Email Address String Yes Email address of the user to be added to the Security Role.

Output Parameters

Name Type Description
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

Name Type Required Example
User Name String Yes Office365Admin@ABC.onmicrosoft.com
Password Password Yes <link to start parameter>
Role Name String Yes Marketing
User Email Address String Yes User1@ABC.onmicrosoft.com