User Has Security Role

This Automation Manager object queries if the specified user has a specified 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 Role Name to check if the user has assigned
Email Address String Yes The email address of the user to check if is assigned the specified Security Role.

Output Parameters

Name Type Description
Conditional String Output True if user is currently assigned the specified Security Role and False if the user is not currently assigned the specified Security Role.
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 Company Administrator
Email Address String Yes User1@ABC.onmicrosoft.com