pem.exchange.grantMailboxPermissions

This method is supported by Operations starting from version 2.9 hotfix03

This method grants the Full Access delivery permission to the list of Hosted Exchange entities (Mailboxes and Distribution Lists) for the specified Mailbox.

The method has the following input parameters:

Name

Type

Short Description

mailbox_id

int

Mailbox ID

permissions

array of struct

The list of Hosted Exchange entities to which the delivery permission is granted.

  • trustee

struct

Hosted Exchange entity (Mailbox and Distribution List) and its delivery permission

  • [mailbox_id]

int

Mailbox ID

  • [distribution_list_id]

int

Distribution List ID

  • [display_name]

string

Display Name of Hosted Exchange entity. This parameter is optional. It is ignored if the parameter is specified.

  • permission

int

Delivery permission (1 – Full Access).

Notes:

1. The mailbox_id and distribution_list_id optional parameters are mutually exclusive. The one Hosted Exchange entity should be specified.

2. The method can take the output of the pem.exchange.getMailboxPermissionsCandidates method.

The method has no output parameters.

Note: This method can also be called under Reseller permissions.