Share via


Exchange Resource Manager Ex::AllocateConsumerUserMailbox

This procedure allocates a new consumer user's mailbox and decrement the size of the mailbox from the MailStore selected by the procedure.

Arguments

Input argument Required Description

<userPrincipalName>

Yes

The user's userPrincipalName.

<mailbox>

Yes

The Lightweight Directory Access Protocol (LDAP) path of user.

<kilobytes>

Yes

The size of the mailbox.

<preferredDomainController>

Yes

<mailStoreServer>

No

The procedure will select mailStoreServer name if this parameter is not provided.

Remarks

No remarks

Sample Code

Example XML Request

<request> 
  <procedure> 
    <execute namespace="Exchange Resource Manager Ex" procedure="AllocateConsumerUserMailbox"> 
      <executeData> 
        <userPrincipalName>bob@litwareinc.com</userPrincipalName>        <mailbox>LDAP://CN=bob@litwareinc.com,OU=Litwareinc,OU=WH,OU=Hosting,DC=fabrikam,DC=Com</mailbox> 
        <kilobytes>10000</kilobytes> 
      </executeData> 
       <after source="executeData" destination="data" mode="merge" /> 
    </execute> 
  </procedure> 
</request> 

Applies To

Exchange Resource Manager Ex Namespace API for:

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

See also

Tasks

Exchange Resource Manager Ex::DeAllocateConsumerUserMailbox
Exchange Resource Manager Ex::ReAllocateConsumerMailbox