FileInfo.GetAccessControl Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a FileSecurity object that encapsulates the access control list (ACL) entries for the file described by the current FileInfo object.

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

NameDescription
System_CAPS_pubmethodGetAccessControl()

Gets a FileSecurity object that encapsulates the access control list (ACL) entries for the file described by the current FileInfo object.

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

Return to top
Show: