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.
<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>
The following input is valid for this request:
In the <IISPath> tag, you must specify the Internet Information Services (IIS)path of the Web or FTP site in the form IIS://machine/W3SVC/N. This is used as a unique identifier that distinguishes it from other Web sites.
<IISPath>IIS://computer name/W3SVC/N</IISPath>
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