Dynamicweb 8 Documentation
HasAccess Method (Permission)

Name of the folder.
Determines whether a user has access to a folder or not.
Syntax
'Declaration
 
Public Shared Function HasAccess( _ 
   ByVal folderName As String _ 
) As Boolean
public static bool HasAccess( 
   string folderName 
)

Parameters

folderName
Name of the folder.

Return Value

true if current user has access to a folder; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Permission Class
Permission Members

Send Feedback