|DirectoryInfoSetAccessControl Method (DirectorySecurity, AccessControlSections)|
Applies access control list (ACL) entries described by a DirectorySecurity
object to the directory described by the current DirectoryInfo object.
AlphaFS (in AlphaFS.dll) Version: 2.0
public void SetAccessControl(
Public Sub SetAccessControl (
directorySecurity As DirectorySecurity,
includeSections As AccessControlSections
member SetAccessControl :
directorySecurity : DirectorySecurity *
includeSections : AccessControlSections -> unit
- Type: System.Security.AccessControlDirectorySecurity
A DirectorySecurity object that describes an ACL entry to apply to the directory described by the path parameter.
- Type: System.Security.AccessControlAccessControlSections
One or more of the AccessControlSections values that specifies the type of access control list (ACL) information to set.