|DirectoryGetAccessControl Method (String, AccessControlSections)|
Gets a DirectorySecurity
object that encapsulates the specified type of access control list (ACL) entries for a particular directory.
AlphaFS (in AlphaFS.dll) Version: 2.0
public static DirectorySecurity GetAccessControl(
Public Shared Function GetAccessControl (
path As String,
includeSections As AccessControlSections
) As DirectorySecurity
static DirectorySecurity^ GetAccessControl(
static member GetAccessControl :
path : string *
includeSections : AccessControlSections -> DirectorySecurity
- Type: SystemString
The path to a directory containing a DirectorySecurity object that describes the directory's access control list (ACL) information.
- Type: System.Security.AccessControlAccessControlSections
One (or more) of the AccessControlSections values that specifies the type of access control list (ACL) information to receive.
object that encapsulates the access control rules for the directory described by the path