Is User Member of Distribution Group

Query to determine if specified user is currently a member of the specified Distribution Group.

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.
Group Name String Yes The name of the Distribution Group to check if the user is a member of.
User Email Address String Yes The unique email address of the user.

Output Parameters

Name Type Description
Conditional String Returns True if the specified user is a member of the distribution group and returns False if the specified user is not a member of the distribution group.
Result String String Object Execution Error Details.
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>
Group Name String Yes Marketing
User Email Address String Yes User1@ABC.onmicrosoft.com