SharePoint2007Provider::GetWebs

This procedure of the Webs service returns properties of a collection of sites (for example, name, description, and theme).

Arguments

Input Arguments Required Description

<target>

Yes

The URL of the Windows SharePoint Services administration site.

<siteGUID>

Yes

The globally unique identifier (GUID) of Windows SharePoint Services site collection.

<subSiteGUID>

Yes

The GUID of subsite.

Remarks

No remarks.

Sample Code

Example XML Request

<request> 
   <procedure> 
      <execute namespace="SharePoint2007Provider" procedure="GetWebs" impersonate="1"> 
         <executeData> 
            <target>https://WSSFE:8080</target> 
            <siteGUID>c05798b4-4efb-4d83-93aa-af588030e4dc</siteGUID> 
            <subSiteGUID>a2c12a03-5550-45d7-b9f7-5d7b8334c7ba</subSiteGUID> 
         </executeData> 
         <after source="executeData" destination="data" mode="merge" /> 
      </execute> 
   </procedure> 
</request>

Example XML Response

This call returns a collection of web information in the format shown below:

<response> 
   <data> 
      <webs> 
         <web title="Test Sub Site" url="https://wssfe:8888/sites/SPNSSite/SPNSSubSite" /> 
      </webs> 
   </data> 
</response>

Applies To

SharePoint 2007 Provider for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

SharePoint2007Provider::GetWeb