GetAccessControl Method

File.GetAccessControl Method

 

Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetAccessControl(String)

Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file.

System_CAPS_pubmethodSystem_CAPS_staticGetAccessControl(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.

Return to top
Show:
© 2016 Microsoft