Click or drag to resize

WindowsUtilsRemoveDirectorySecurity Method (String, WellKnownSidType, FileSystemRights, AccessControlType)

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

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static void RemoveDirectorySecurity(
	string path,
	WellKnownSidType account,
	FileSystemRights rights,
	AccessControlType controlType
)

Parameters

path
Type: SystemString
The directory path.
account
Type: System.Security.PrincipalWellKnownSidType
The account.
rights
Type: System.Security.AccessControlFileSystemRights
The rights.
controlType
Type: System.Security.AccessControlAccessControlType
Type of the control.
See Also