File::AddAccessRule | ||
Description | ||
Add a FileSystemRights access rule to a file or directory. Optional:
the command can be run by using the credentials of a different account. |
||
Options | ||
File
or Directory |
The file or directory to which the access rule must be added. |
|
Identity |
The windows username to which the rule must be applied. | |
FileSystemRights |
The rights to set on the file or directory. |
|
InheritanceFlags |
None ContainerInherit ObjectInherit |
|
PropagationFlags |
None NoPropagateInherit InheritOnly |
|
AccessControlType |
Allow Deny |
|
Domain |
Optional: domain name for the credentials to set the accessrule. | |
Username |
Optional: Username for the credentials to set the accessrule. | |
Password |
Optional: Password for the credentials to set the accessrule. | |
LogonType |
Interactive Network Batch Service NetworkCleartext NewCredentials
|