Exchange Provider::MoveMailbox
The MoveMailbox method moves a mailbox from one mailbox store to another by looking up the user's current mailbox location and moving it to the new destination.
Arguments
Input argument | Required | Description |
---|---|---|
Path |
Yes |
The Lightweight directory access protocol (LDAP) path of the user object. |
Mdb |
Yes |
The CN of the destination mailbox store. |
Server |
Yes |
The destination Exchange server NETBIOS name. |
Remarks
Rollback Calls
The MoveMailbox method calls the MoveMailbox method on transaction rollback and moves the mailbox back to its original location.
Sample Code
Example XML Request
The following is an example of an XML request for the MoveMailbox method of the Exchange Provider:
<request>
<data/>
<procedure>
<execute namespace='Exchange Provider'
procedure='MoveMailbox'>
<executeData>
<path>LDAP://CN=Johnc,
OU=litware,OU=consolidatedmessenger,
DC=fabrikam,DC=com</path>
<mdb>Mailbox Store 2(Exchserv1)</mdb>
<server>Exchserv1</server>
</executeData>
</execute>
</procedure>
</request>
Example XML Response
No example XML response.
Applies To
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0
See also
Tasks
Exchange Provider::EditMailbox
Exchange Provider::DeleteMailbox