Share via


Exchange Resource Manager Ex::QueryConsumerMailboxAllocation

Queries the properties of an existing mailbox resource allocation. This procedure also returns information on mailboxes that were allocated using AllocateConsumerMailbox which use a type of ExchConsumerMailbox.

Arguments

Input argument Required Description

<mailbox>

Yes

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

<preferredDomainController>

Yes

Remarks

Security

Impersonates caller.

Sample Code

Example XML Request

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

Example XML Response

<response> 
  <data> 
    <mailbox> 
      <GUID>A89E2CC98ED8E14A86CB6A64A082BFF7</GUID> 
      <path>LDAP://CN=newuser,OU=litwareinc2,OU=WH,OU=Hosting,DC=fabrikam,DC=Com</path> 
      <kilobytes>10000</kilobytes> 
    </mailbox> 
    <preferredDomainController>AD01.fabrikam.com</preferredDomainController> 
  </data> 
</response> 

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::QueryMailboxAllocation