Get User Explicit Permissions

Query for the effective permissions applied by a Management Role to a specified user on the specified mailbox.

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 Name of the Role that has granted the permissions to the specified user on the specified mailbox.
User Email Address String Yes Email address of the user to query for effective permissions on the specified mailbox.
Mailbox Email Address holding permissions String Yes Email address of the mailbox to query for specified user’s permissions on.

Output Parameters

Name Type Description
Permissions Array Array containing effective permissions.
Permissions Record Count Number The number of entries within the Permissions Array.
RunSpace ID String The Runspace ID of the Permissions entry.
Access Rights String Effective access rights name applied.
Deny Boolean True or False if the specified user is denied specific access permissions on the mailbox.
Inheritance Type String The inherent permissions of the mailbox have been applied through either the Global group membership, Local group membership, Local permissions, Local privileges or Universal group membership.
User String Name of user that has permissions on mailbox.
Identity String Identity of the user that has permissions.
Is Inherited Boolean True or False if the effective permissions have been inherited or not.
Is Valid Boolean Displays if the mailbox folder is valid or contains errors.
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>
Permission Checkbox Yes Query for effective permissions of: one user
Role Name String Yes Marketing
User Email Address String Yes User1@ABC.onmicrosoft.com
Mailbox Email Address holding permissions String Yes Mailbox1@ABC.onmicrosoft.com