Identifying the owner of an FTP or Web site by using XML

Use the QuerySiteOwner procedure query the IIS Resource Manager and return the identity of the owner of a File Transfer Protocol (FTP) site or Web site.

This procedure impersonates the Microsoft Provisioning Framework (MPF) service account for calls to the Resource Manager database, and as the call when translating names from the globally unique identifier (GUID) to the Lightweight Directory Access Protocol (LDAP) path.

Example of a request that calls the QuerySiteOwner procedure

<request>
 <procedure>
   <execute namespace="IIS Resource Manager" procedure="QuerySiteOwner" >
	 <executeData>
	 <IISPath>IIS://contoso0/W3SVC/13846063</IISPath>
	 </executeData>
	 <after source="executeData" destination="data" mode="merge"/>
   </execute>
 </procedure>
</request>

Input for QuerySiteOwner

The following input is valid for this request:

Typical response for QuerySiteOwner

This request returns the GUID and LDAP path of the owner of the Web or FTP site.

<response>
	<data>
		<IISPath>IIS://contoso0/W3SVC/13846063</IISPath>
		<ownerGUID>{f910e66e-23e1-451e-aaf9-501daebcec0d}</ownerGUID>
		<owner>LDAP://OU=Hosting,DC=contoso,DC=com</owner>
	</data>
</response>

Important