Managed Email 2007::MoveMailbox
Moves a mailbox from one mailbox store to another.
Arguments
Input Arguments | Required | Description |
---|---|---|
<preferredDomainController> |
Yes |
The domain controller to use for Active Directory actions. |
<user> |
Yes |
Specifies the LDAP path of the user object for which the mailbox will be created. |
Remarks
Security
Caller must be at least a member of role: UserCreators.
Sample Code
Example XML Request
<request>
<data>
<!--The domain controller to use for Active Directory actions.-->
<preferredDomainController>AD01.Fabrikam.Com</preferredDomainController>
<!--Specifies the recipient identification of the single mailbox to move.-->
<user>LDAP://CN=johnc@alpineskihouse.com,OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</user>
<!--Specifies the database to which the mailbox will be moved.-->
<targetDatabase>EXMBXCLUS01\SG02\HostedMailstore02</targetDatabase>
</data>
<procedure>
<execute namespace="Managed Email 2007" procedure="MoveMailbox" impersonate="1">
<before source="data" sourcePath="preferredDomainController" destination="executeData" mode="move" />
<before source="data" sourcePath="user" destination="executeData" mode="move" />
<before source="data" sourcePath="targetDatabase" destination="executeData" mode="move" />
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Applies To
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
See also
Other Resources
API Name [HMC SDK]
API Name [HMC SDK]
API Name [HMC SDK]
API Name [HMC SDK]
API Name [HMC SDK]
API Name [HMC SDK]