SharePoint2007Provider::EnumerateFolder
This procedure returns information about the files and folders within a folder on a 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 Windows SharePoint Services site collection. |
<subSiteGUID> |
Yes |
The GUID of sub site. |
<folderUrl> |
Yes |
A string that contains the site-related URL of the folder |
Remarks
No remarks.
Sample Code
Example XML Request
<request>
<procedure>
<execute namespace="SharePoint2007Provider" procedure="EnumerateFolder" impersonate="1">
<executeData>
<target>https://WSSFE:8080</target>
<siteGUID>94027460-7149-4624-9395-6607b5d02bd1</siteGUID>
<subSiteGUID>e28e0766-c0a6-4362-9cb3-fe6aa5dedfab</subSiteGUID>
<folderUrl>Shared Documents</folderUrl>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
This call returns an array that contains information about the files and folders, including their URLs, the date and time that each item was last modified, and a Boolean value that specifies whether the item is a folder.
<response>
<data>
<urls>
<url isFolder="true" lastModified="8/13/2007 2:06:22 AM" url="Shared Documents/Forms" />
</urls>
</data>
</response>
Applies To
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0