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.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public FileSecurity GetAccessControl(
AccessControlSections includeSections
)
Public Function GetAccessControl (
includeSections As AccessControlSections
) As FileSecurity
public:
FileSecurity^ GetAccessControl(
AccessControlSections includeSections
)
member GetAccessControl :
includeSections : AccessControlSections -> FileSecurity
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:
FileSecurityFileSecurity object that encapsulates the specified type of access control list (ACL) entries for the file described by the current FileInfo object.
See Also