The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
File::GetAccessControl Method
.NET Framework (current version)
Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | GetAccessControl(String^) | Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file. |
![]() ![]() | GetAccessControl(String^, AccessControlSections) | Gets a FileSecurity object that encapsulates the specified type of access control list (ACL) entries for a particular file. |
Use the GetAccessControl methods to retrieve the access control list (ACL) entries for a specified file.
Show:

