Web Hosting Resource Manager::CreateOrganizationQuota
This procedure creates a IIS Web Server Web site and disk space quota for a specified organization.
Arguments
Input argument | Required | Description |
---|---|---|
<org> |
Yes |
The LDAP path of the owning organization. |
<shared> or <dedicated> |
Yes |
Node for describing a quota for either shared resources, dedicated resources or both. |
<preferredDomainController> |
Yes |
|
<shared>/<megabytes> |
No |
The size in megabytes allowed for the organization. |
<shared>/<maxWebSites> |
No |
The number of Web site allocations allowed for the organization. |
<dedicated>/<megabytes> |
No |
The size in megabytes allowed for the organization. |
<dedicated>/<maxServers> |
No |
The number of web server allocations allowed for the organization. |
Remarks
Access Level
Private.
Provisioning Steps
- Create Resource Instances to store the organizations quota data.
Security
- Impersonate Caller.
Note
The access level of this procedure is private. It is intended to be called from other namespaces that perform their own security checks.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="Web Hosting Resource Manager" procedure="CreateOrganizationQuota" impersonate="1">
<executeData>
<org>LDAP://OU=alpineskihouse,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=Com</org>
<preferredDomainController>AD01-wh.fabrikam.com</preferredDomainController>
<shared>
<maxWebSites>10</maxWebSites>
<megabytes>100</megabytes>
</shared>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
No example XML 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
See also
Tasks
Web Hosting Resource Manager::ModifyOrganizationQuota
Web Hosting Resource Manager::DeleteOrganizationQuota
Web Hosting Resource Manager::QueryOrganizationQuota