File.GetAccessControl Method
.NET Framework 3.0
Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file.
| Name | Description |
|---|---|
| File.GetAccessControl (String) | Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file. |
| 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.