IAdmExchangeMailboxOps2

The IAdmExchangeMailboxOps2 interface extends the IAdmExchangeMailboxOps interface with the ability to convert Exchange mailboxes and create linked mailboxes in Exchange.

Inheritance: IAdmExchangeMailboxOps

Methods

Properties

  • Property

  • Description

  • MailboxType

  • Gets the type of the Exchange mailbox of the user.

Details

ConvertToRegularMailbox()

Converts the mailbox into a regular mailbox.

void ConvertToRegularMailbox()

ConvertToSharedMailbox()

Converts the mailbox into a shared mailbox.

void ConvertToSharedMailbox()

CreateLinkedMailbox()

Creates a linked Exchange mailbox for the user.

void CreateLinkedMailbox(string mailboxDomain, 
                         string userLogonName,
                         string name, 
                         IAdmObjectReference organizationalUnit, 
                         string alias, 
                         IADs storageDatabasePath, 
                         IAdmObjectReference addressBookPolicy, 
                         bool needBuildUniqueNames)

Parameters

  • mailboxDomain - Specifies the domain where the linked Exchange mailbox will be created.
  • userLogonName - Specifies the UPN logon name of the linked Exchange mailbox. You can use value references in the logon name (e.g. %username%@company.com). Value references will be replaced with corresponding property values of the user account for which a linked mailbox will be created.
  • name - Specifies the name of the linked Exchange mailbox. You can use value references in the name (e.g. %name%). Value references will be replaced with corresponding property values of the user account for which a linked mailbox will be created.
  • organizationalUnit - Specifies the container where the linked Exchange mailbox will be created. If the parameter is set to null, the linked mailbox will be created in the default container specified for user accounts in Active Directory (by default, the container is Users).
  • alias - Specifies the email alias to be used for e-mail address generation. You can use value references in the alias (e.g. %username%). Value references will be replaced with corresponding property values of the user account for which a linked mailbox will be created.
  • storageDatabasePath - Specifies an ADS path of the directory object representing an Exchange storage database where a linked mailbox will be created. If the parameter is set to null, the storage will be automatically selected by the Exchange provisioning load balancer.
  • addressBookPolicy - Specifies the Address Book Policy that will be applied to the linked mailbox. If the parameter is set to null, no policy will be applied to the logon name.
  • needBuildUniqueNames - Specifies whether a unique name and/or UPN logon name should be generated for the linked mailbox if the value specified in the name and/or userLogonName parameter is not unique. If this parameter is set to true and the name and/or logon name is not unique, a digit will be added to it.

MailboxType

Gets the type of the Exchange mailbox of the user.


Requirements

Minimum required version: 2019.1

See also