Removes 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 void RemoveDirectorySecurity(
	string FolderName,
	string Account,
	FileSystemRights Rights,
	AccessControlType ControlType
)
Visual Basic
Public Shared Sub RemoveDirectorySecurity ( 
	FolderName As String,
	Account As String,
	Rights As FileSystemRights,
	ControlType As AccessControlType
)
Visual C++
public:
static void RemoveDirectorySecurity(
	String^ FolderName, 
	String^ Account, 
	FileSystemRights Rights, 
	AccessControlType ControlType
)
F#
static member RemoveDirectorySecurity : 
        FolderName : string * 
        Account : string * 
        Rights : FileSystemRights * 
        ControlType : AccessControlType -> unit 

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

See Also