pem.exchange.getEmailDomains

This method is supported by Operations starting from version 2.7

This method returns the list of Domains, on which Exchange Mail Hosting is installed. If the optional parameter subscription_id is passed, then the output is filtered down to the Domains assigned to the specified subscription.

The method has the following input parameters:

Name

Type

Short Description

[domain_name]

string

The name of the Windows Active Directory Domain. If specified, only Domains related to Windows Active Directory Domain will be returned. If omitted, all the Domains will be returned.

[subscription_id]

int

Subscription ID.

The method has the following output parameters:

Name

Type

Short Description

email_domains

array of string

The list of Domains, on which Exchange Mail Hosting is installed.

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