SharePoint2007Provider::GetSiteAndWeb
This procedure returns the absolute URL of a subsite and the absolute URL of its top-level parent site based on the specified site URL.
Arguments
Input Arguments | Required | Description |
---|---|---|
<target> |
Yes |
The URL of the Windows SharePoint Services administration site. |
<siteGUID> |
Yes |
The globally unique identifier (GUID) of the Windows SharePoint Services site collection. |
<subSiteGUID> |
Yes |
The GUID of the subsite. |
Output Arguments | Description |
---|---|
<site> |
The absolute URL of the parent site. |
<web> |
The absolute URL of the site. |
Remarks
No remarks.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="SharePoint2007Provider" procedure="GetSiteAndWeb" impersonate="1">
<executeData>
<target>https://WSSFE:8080</target>
<siteGUID>5e13457c-7903-4077-9a10-fbe3a3f5b00a</siteGUID>
<subSiteGUID>47eac4d1-2260-4c6a-8229-10544122afe2</subSiteGUID>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
<response>
<data>
<site>https://wssfe:8888/sites/SPNSSite</site>
<web>https://wssfe:8888/sites/SPNSSite/SPNSSubSite</web>
</data>
</response>
Applies To
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0