Checks if the provided permission is allowed for the current user in the provided folder

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

Syntax

C#
bool HasFolderPermission(
	IFolderInfo folder,
	string permissionKey
)
Visual Basic
Function HasFolderPermission ( 
	folder As IFolderInfo,
	permissionKey As String
) As Boolean

Parameters

folder
Type: DotNetNuke.Services.FileSystem..::..IFolderInfo
Folder to check
permissionKey
Type: System..::..String
Permission key to check

Return Value

returnsM:DotNetNuke.Services.FileSystem.Internal.IUserSecurityController.HasFolderPermission(DotNetNuke.Services.FileSystem.IFolderInfo,System.String)

See Also