Use the QuerySitesByOwner procedure to query the IIS Resource Manager. The IIS Resource Manager will then return all File Transfer Protocol (FTP) sites and Web sites owned by an owner organization.
This procedure runs as the Microsoft Provisioning Framework (MPF) service account in order to make calls to the Resource Manager database.
<request>
<procedure>
<execute namespace="IIS Resource Manager" procedure="QuerySitesByOwner" >
<executeData>
<owner>LDAP://OU=Hosting,DC=contoso,DC=com</owner>
</executeData>
<after source="executeData" destination="data" mode="merge"/>
</execute>
</procedure>
</request>
The following input is valid for this request:
In the <owner> element, enter the Lightweight Directory Access Protocol (LDAP) path of the organization for which you want to identify FTP sites and Web sites.
<owner>LDAP://LDAP path of the owning organization</owner>
This request returns a list of the FTP sites and Web sites owned by the specified organization.
<response>
<data>
<owner>LDAP://OU=Hosting,DC=contoso,DC=com</owner>
<IISPaths>
<IISPath>IIS://contoso0/W3SVC/13846063</IISPath>
<IISPath>IIS://contoso0/W3SVC/13471018</IISPath>
</IISPaths>
</data>
</response>
Important