Get Mailbox Permissions

Query for permissions for 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.
Mailbox Email Address String Yes The email address of the mailbox.

Output Parameters

Name Type Description
Permissions Array Array containing effective permissions.
Permissions Entry Count Number The number of entries within the Permissions Array.
RunSpace ID String The Runspace ID of the mailbox.
Access Rights String Access rights of the mailbox.
Inheritance Type String The 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 assigned to the mailbox.
Identity String Identity of the user that is assigned to the mailbox.
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>
Mailbox Email Address String Yes Mailbox1@ABC.onmicrosoft.com