Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Folders property of the SPWeb class gets the collection of all first-level folders in the Web site.
Property Value
A Microsoft.SharePoint.SPFolderCollection object that represents the folders.
Remarks
The user must have the Browse Directories right to run code that uses the Folders property.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security