DirectoryInfoSetAccessControl Method (DirectorySecurity) |
Applies access control list (ACL) entries described by a
DirectorySecurity object to the directory described by the current DirectoryInfo object.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public void SetAccessControl(
DirectorySecurity directorySecurity
)
Public Sub SetAccessControl (
directorySecurity As DirectorySecurity
)
public:
void SetAccessControl(
DirectorySecurity^ directorySecurity
)
member SetAccessControl :
directorySecurity : DirectorySecurity -> unit
Parameters
- directorySecurity
- Type: System.Security.AccessControlDirectorySecurity
A DirectorySecurity object that describes an ACL entry to apply to the directory described by the path parameter.
See Also