Skip to content

IAdmExchangeMailboxOps2

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

Inheritance: The IAdmExchangeMailboxOps2 interface inherits from the IAdmExchangeMailboxOps interface.

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, 
                         Boolean 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