Exchange 2007 Resource Manager::QueryConsumerMailboxAllocation

This procedure returns the allocation for an individual consumer e-mail mailbox.

Arguments

Input Arguments Required Description

<preferredDomainController>

Yes

The Fully Qualified Domain Names (FQDN) or IP Address of the domain controller to use for this procedure.

<mailbox>

Yes

The Lightweight directory access protocol (LDAP) path for the Active Directory object or a Container element for an instance of mailbox properties elements.

Output Arguments Description

<mailbox>

The LDAP path for the Active Directory object or a Container element for an instance of mailbox properties elements.

<mailbox/ GUID>

The GUID for the public store, mailstore, or mailbox.

<mailbox/ path>

The LDAP path for the mailbox or organization.

<mailbox/ kilobytes>

The storage required or allocated to the mailbox.

Remarks

Security

The caller must be at least a member of role: UserCreators

Sample Code

Example XML Request

<request>  
        <data>  
                <mailbox> LDAP://CN=bob@AlpineSkiHouse.com,OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com </mailbox> 
                <preferredDomainController>AD01.Fabrikam.com </preferredDomainController> 
        </data> 
        <procedure>  
                <execute namespace="Exchange 2007 Resource Manager" procedure="QueryConsumerMailboxAllocation" impersonate="1" >  
                        <before source="data" destination="executeData" mode="merge" /> 
                        <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=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com </path> 
                        <kilobytes>20000 </kilobytes> 
                </mailbox> 
        </data> 
</response> 

Applies To

Exchange 2007 Resource Manager Namespace for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0