Click or drag to resize
DirectoryInfoGetAccessControl Method (AccessControlSections)
Gets a DirectorySecurity object that encapsulates the specified type of access control list (ACL) entries for the directory described by the current DirectoryInfo object.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public DirectorySecurity GetAccessControl(
	AccessControlSections includeSections
)

Parameters

includeSections
Type: System.Security.AccessControlAccessControlSections
One of the AccessControlSections values that specifies the type of access control list (ACL) information to receive.

Return Value

Type: DirectorySecurity
A DirectorySecurity object that encapsulates the access control rules for the file described by the path parameter.
See Also