views:

277

answers:

1

Hi All,

I want to get list of Sites and Lists from Sharepoint using Web Services.

Worked on GetSite() and GetSiteAndWeb() funtions of SiteData web service

Also tried Site and Lists.

I am unable to get list of sites :(

Regards,

Jene

A: 

You want the Webs.GetWebCollection method from the Webs Web Service.

Webs.GetWebCollection

When working through the SharePoint API, the terminology is different than when working in SharePoint itself.

Site Collection (SharePoint) -> Site (SharePoint API)
Site (SharePoint) -> Web (SharePoint API)

Justin Niessner

related questions