Click or drag to resize

FileInfoGetAccessControl Method (AccessControlSections)

Gets a FileSecurity object that encapsulates the specified type of access control list (ACL) entries for the file described by the current FileInfo object.

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

Parameters

includeSections
Type: System.Security.AccessControlAccessControlSections
One of the System.Security values that specifies which group of access control entries to retrieve.

Return Value

Type: FileSecurity
FileSecurity object that encapsulates the specified type of access control list (ACL) entries for the file described by the current FileInfo object.
See Also