Adds an ACL entry on the specified file 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 CheckFileSecurityRights(
	string FileName,
	string Account,
	FileSystemRights Rights,
	AccessControlType ControlType
)
Visual Basic
Public Shared Function CheckFileSecurityRights ( 
	FileName As String,
	Account As String,
	Rights As FileSystemRights,
	ControlType As AccessControlType
) As Boolean
Visual C++
public:
static bool CheckFileSecurityRights(
	String^ FileName, 
	String^ Account, 
	FileSystemRights Rights, 
	AccessControlType ControlType
)
F#
static member CheckFileSecurityRights : 
        FileName : string * 
        Account : string * 
        Rights : FileSystemRights * 
        ControlType : AccessControlType -> bool 

Parameters

FileName
Type: System..::..String
File 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