Exchange 2007 Resource Manager::QueryAllOrganizations
This procedure returns all of the organizations that own Exchange resources.
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. |
Output Arguments | Description |
---|---|
<organizations> |
The container element for a collection of organization elements. |
<organizations/ organization> |
The Lightweight directory access protocol (LDAP) path of the organization or a container element for organization properties elements. |
<organizations/ organization/ GUID> |
The GUID for the public store, mailstore, or mailbox.. |
<organizations/ organization/ path> |
The LDAP path for the mailbox or organization. |
Remarks
Security
The caller must be at least a member of role: DomainAdmin
Sample Code
Example XML Request
<request>
<data>
<preferredDomainController>AD01.Fabrikam.com </preferredDomainController>
</data>
<procedure>
<execute namespace="Exchange 2007 Resource Manager" procedure="QueryAllOrganizations" impersonate="1" >
<before source="data" destination="executeData" mode="merge" />
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
<response>
<data>
<organizations>
<organization>
<GUID>2485e2f23bae4562be7ba3952228e697 </GUID>
<path> LDAP://OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com </path>
</organization>
</organizations>
</data>
</response>
Applies To
Exchange 2007 Resource Manager Namespace for:
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0