Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetAccessControl Method

Directory.GetAccessControl Method

Returns the Windows access control list (ACL) for a directory.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member GetAccessControl(String) Gets a DirectorySecurity object that encapsulates the access control list (ACL) entries for a specified directory.
Public method Static member GetAccessControl(String, AccessControlSections) Gets a DirectorySecurity object that encapsulates the specified type of access control list (ACL) entries for a specified directory.
Top
Show:
© 2015 Microsoft