Identifying organizations with Exchange resource allocations by using XML

This procedure expects to be called with impersonate="1". The procedure impersonates the caller.

Example of a request that calls the QueryAllOrganizations procedure

<request>
 <procedure>
   <execute namespace="Exchange Resource Manager" procedure="QueryAllOrganizations">
	 <after source="executeData" destination="data" />
   </execute>
 </procedure>
</request>

Input for QueryAllOrganizations

No input is required.

Typical response for QueryAllOrganizations

This request returns a list of the Lightweight Directory Access Protocol (LDAP) paths and globally unique identifiers (GUIDs) of each organization that has been allocated Exchange resources.

<response>
 <data>
   <organizations>
	 <organization>
	 <GUID>{ee5c82e7-a0ec-4989-ac40-5994337bd8a1}</GUID>
	 <path>LDAP://OU=ExchOrg1,DC=contoso0,DC=com</path>
	 </organization>
	 <organization>
	 <GUID>{5696e179-4857-4fb2-8b82-f062ad1aff3c}</GUID>
	 <path>LDAP://OU=ExchOrg2,DC=contoso0,DC=com</path>
	 </organization>
   </organizations>
  </data>
</response>

Important