Click or drag to resize

WindowsUtilsRemoveDirectorySecurity Method (String, IdentityReference, 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,
	IdentityReference account,
	FileSystemRights rights,
	AccessControlType controlType
)

Parameters

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