FileInfo::GetAccessControl Method
Gets a FileSecurity object that encapsulates the access control list (ACL) entries for the file described by the current FileInfo object.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | GetAccessControl() | Gets a FileSecurity object that encapsulates the access control list (ACL) entries for the file described by the current FileInfo object. |
![]() | GetAccessControl(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. |
Use the GetAccessControl methods to retrieve the access control list (ACL) entries for the current file.
