Gets the sorted list of folders that match the provided permissions in the specified portal.

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public virtual IEnumerable<IFolderInfo> GetFolders(
	int portalId,
	string permissions,
	int userId
)
Visual Basic
Public Overridable Function GetFolders ( 
	portalId As Integer,
	permissions As String,
	userId As Integer
) As IEnumerable(Of IFolderInfo)

Parameters

portalId
Type: System..::..Int32
The portal identifier.
permissions
Type: System..::..String
The permissions to match.
userId
Type: System..::..Int32
The user identifier to be used to check permissions.

Return Value

The list of folders that match the provided permissions in the specified portal.

Implements

IFolderManager..::..GetFolders(Int32, String, Int32)

See Also