Adds an ACL entry on the specified directory for the specified account.

Namespace: MonoSoftware.MonoX.Utilities
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static bool CheckDirectorySecurityRights(
	string FolderName,
	string Account,
	FileSystemRights Rights,
	AccessControlType ControlType
)
Visual Basic
Public Shared Function CheckDirectorySecurityRights ( 
	FolderName As String,
	Account As String,
	Rights As FileSystemRights,
	ControlType As AccessControlType
) As Boolean
Visual C++
public:
static bool CheckDirectorySecurityRights(
	String^ FolderName, 
	String^ Account, 
	FileSystemRights Rights, 
	AccessControlType ControlType
)
F#
static member CheckDirectorySecurityRights : 
        FolderName : string * 
        Account : string * 
        Rights : FileSystemRights * 
        ControlType : AccessControlType -> bool 

Parameters

FolderName
Type: System..::..String
Folder name
Account
Type: System..::..String
Account
Rights
Type: System.Security.AccessControl..::..FileSystemRights
Rights
ControlType
Type: System.Security.AccessControl..::..AccessControlType
Control type

Return Value

Type: Boolean

See Also