This documentation is archived and is not being maintained.

SPWeb.GetFolder Method (Guid)

Windows SharePoint Services 3

Returns the folder object with the specified GUID.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPFolder GetFolder(
	Guid uniqueId
)

Parameters

uniqueId
Type: System.Guid
A GUID that identifies the folder.

Return Value

Type: Microsoft.SharePoint.SPFolder
An SPFolder object that represents the folder.

The user must have Browse Directories permissions to run code that uses the GetFolder method.

Show: