Web Hosting Resource Manager::QueryAllOrganizations
This procedure returns all organizations that have IIS Web Server quotas in resource manager.
Arguments
Input argument | Required | Description |
---|---|---|
<preferredDomainController> |
Yes |
Output Arguments
<orgs>/<org> nodes containing:
<GUID>: objectGUID of the organization
<path>: LDAP path of the organization
Remarks
Access Level
Public.
Provisioning Steps
- Retrieve all organizations
Secuirty
Impersonate Caller.
Caller Tested for domain admin permissions:
- Domain admins
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="Web Hosting Resource Manager" procedure="QueryAllOrganizations" impersonate="1">
<executeData>
<preferredDomainController>AD01-wh.fabrikam.com</preferredDomainController>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
(Shown for formatting only, content may not match)
<response>
<data>
<preferredDomainController>AD01-wh.fabrikam.com</preferredDomainController>
<orgs>
<org>
<GUID>48DD9AB9D94A6B4BBBA6C2F6B1E9BDFC</GUID>
<path>LDAP://OU=alpineskihouse,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=com</path>
</org>
<org>
<GUID>79D83BEFC342244D81DDB74D3B0B5C1A</GUID>
<path>LDAP://OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=com</path>
</org>
</orgs>
</data>
</response>
Applies To
Web Hosting Resource Manager Namespace for:
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0
Windows-based Hosting version 4.5
Windows-based Hosting version 4.0
Windows-based Hosting version 3.5
Windows-based Hosting for Applications version 1.0