Web Hosting Resource Manager::QueryDedicatedByOrganization
This procedure returns a listing of all web servers allocated in the resource pool to a particular organization.
Arguments
Input argument | Required | Description |
---|---|---|
<org> |
Yes |
The LDAP path of the owning organization. |
<preferredDomainController> |
Yes |
Output Arguments
<servers>/<server> node containing sever info. For example:
<server>
<GUID>ABD38CF0BC2785439AA23B035B43E1B7</GUID>
<serverName>WEB01</serverName>
<path>LDAP://CN= WEB01,CN=Computers,DC=fabrikam,DC=com</path>
</server>
Remarks
Access Level
Public.
Provisioning Steps
- Retrieve a listing of all web servers owned by 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="QueryDedicatedByOrganization" 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>
<servers>
<server>
<GUID>ABD38CF0BC2785439AA23B035B43E1B7</GUID>
<serverName>WEB01</serverName>
<path>LDAP://CN= WEB01,CN=Computers,DC=fabrikam,DC=com</path>
</server>
<server>
<GUID>6AD7B4A02DC5FA44AAD90005870EEB49</GUID>
<serverName>WEB02</serverName>
<path>LDAP://CN=WEB02,CN=Computers,DC=fabrikam,DC=com</path>
</server>
</servers>
</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