pem.exchange.forceMailboxTemplatesUsing

This method is supported by Operations starting from version 2.9

This method shows the way on how a Mailbox should be created for a specified Service User.

The method has the following input parameters:

Name

Type

Short Description

user_id

int

Service User ID.

Notes:
1. If the Service User has been bound to a Subscription containing services in the subscription-local mode (for example pem.addUser has been called and subscription_id has been specified), the subscription-local Hosted Exchange service from the Subscription will be used to provide information.
2. If the Service User has not been bound to any Subscription (for example pem.addUser has been called and owner_account_id has been specified), the account-wide Hosted Exchange service from an account Subscription containing services in the account-wide mode will be used to provide information. In case when the account does not have the account-wide Hosted Exchange service, the method returns an error.

The method has the following output parameters:

Name

Type

Short Description

result

boolean

It defines the way on how a Mailbox should be created for the specified Service User. There are the following options:

Notes:

1. This method can also be called under Reseller permissions.

2. Service User ID is not displayed in Operations control panel. You may use the pem.getUserByLogin or pem.getUsers methods to obtain the ID of the required Service User. Also, you may use the Operations Public API methods, which contain Service User ID(s) in the list of the output parameters.