SharePoint2007Provider::GetLists
This procedure returns information about all the lists in the current SharePoint site.
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. |
Remarks
No remarks.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="SharePoint2007Provider" procedure="GetLists" impersonate="1">
<executeData>
<target>https://WSSFE:8080</target>
<siteGUID>e0b60c59-24fe-4b92-a4a6-3024a7215a57</siteGUID>
<subSiteGUID>14fda915-4221-4bd4-b646-0ec045d799e5</subSiteGUID>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
This call returns an array of information about the lists in the format shown below.
<response>
<data>
<lists>
<list guid="{8f26f245-fcbc-469c-9caf-5b08f9deb3c9}" title="Announcements"
description="Use the Announcements list to post messages on the home page of your site."
baseType="GenericList" baseTemplate="Announcements"
defaultViewUrl="/sites/SPNSSite/Lists/Announcements/AllItems.aspx"
lastModified="8/13/2007 2:12:33 AM" permId="" inheritedSecurity="true"
allowAnonymousAccess="false" anonymousViewListItems="false" />
<list guid="{f4fb9292-3e96-4b36-9f66-483fa1ab8e61}" title="Calendar"
description="Use the Calendar list to keep informed of upcoming meetings, deadlines, and other important events."
baseType="GenericList" baseTemplate="Events"
defaultViewUrl="/sites/SPNSSite/Lists/Calendar/calendar.aspx"
lastModified="8/13/2007 2:12:33 AM" permId="" inheritedSecurity="true"
allowAnonymousAccess="false" anonymousViewListItems="false" />
</lists>
</data>
</response>
Applies To
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0