Share via


Exchange Resource Manager Ex::QueryMailboxAllocation

Queries the properties of an existing mailbox resource allocation. It returns information on mailboxes that were allocated using AllocateMailbox which use a type of ExchMailbox.

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="QueryMailboxAllocation" impersonate="1"> 
      <executeData> 
        <mailbox>LDAP://CN=bob@alpineskihouse.com,OU=alpineskihouse,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>CC89496FF2E2E842A5CC1578293281BD</GUID> 
      <path>LDAP://CN=user1@AOrg1.com,OU=AOrg1,OU=WH,OU=Hosting,DC=fabrikam,DC=Com</path> 
      <kilobytes>20000</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::QueryConsumerMailboxAllocation