Web Hosting Resource Manager::QueryOrganizationQuota
This procedure returns capacity data for a specified organization.
Arguments
Input argument | Required | Description |
---|---|---|
<org> |
Yes |
The LDAP path of the owning organization. |
<preferredDomainController> |
Yes |
Output Arguments
<shared>
<maxWebSites>
<webSitesFree>
<megabytes>
<megabytesFree>
<dedicated>
<maxServers>
<serversFree>
<megabytes>
<megabytesFree>
Remarks
Access Level
Public.
Provisioning Steps
- Retrieve the capacity limits assigned to the organization
Security
Impersonate Caller.
Caller Tested for OrgCreator permissions:
Domain admins
Hosting admins
Reseller admins
Note
Reseller admins cannot query Web sites for their own organization, only for child organizations.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="Web Hosting Resource Manager" procedure="QueryOrganizationQuota" impersonate="1">
<executeData>
<org>LDAP://OU=alpineskihouse,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=Com</org>
<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>
<org>LDAP://OU=alpineskihouse,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=Com</org>
<preferredDomainController>AD01-wh.fabrikam.com</preferredDomainController>
<GUID>48DD9AB9D94A6B4BBBA6C2F6B1E9BDFC</GUID>
<shared>
<maxWebSites>0</maxWebSites>
<webSitesFree>0</webSitesFree>
<megabytes>0</megabytes>
<megabytesFree>0</megabytesFree>
</shared>
<dedicated>
<maxServers>3</maxServers>
<serversFree>1</serversFree>
<megabytes>10000</megabytes>
<megabytesFree>9970</megabytesFree>
</dedicated>
</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