TaskRights Enumeration
Specifies the access control rights that can be applied to Task Scheduler tasks.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[FlagsAttribute]
public enum TaskRights
ReadData | 1 | Specifies the right to open and copy a task or folder. This does not include the right to read file system attributes, extended file system attributes, or access and audit rules. |
WriteData | 2 | Specifies the right to open and write to a file or folder. This does not include the right to open and write file system attributes, extended file system attributes, or access and audit rules. |
AppendData | 4 | Specifies the right to append data to the end of a file. |
ReadExtendedAttributes | 8 | Specifies the right to open and copy extended system attributes from a folder or task. For example, this value specifies the right to view author and content information. This does not include the right to read data, system attributes, or access and audit rules. |
WriteExtendedAttributes | 16 | Specifies the right to open and write extended file system attributes to a folder or file. This does not include the ability to write data, attributes, or access and audit rules. |
ExecuteFile | 32 | Specifies the right to run a task. |
DeleteChild | 64 | Specifies the right to delete a folder and any tasks contained within that folder. |
ReadAttributes | 128 | Specifies the right to open and copy file system attributes from a folder or task. For example, this value specifies the right to view the file creation or modified date. This does not include the right to read data, extended file system attributes, or access and audit rules. |
WriteAttributes | 256 | Specifies the right to open and write file system attributes to a folder or file. This does not include the ability to write data, extended attributes, or access and audit rules. |
Delete | 65,536 | The right to delete a folder or task. |
ReadPermissions | 131,072 | The right to open and copy the access rules and audit rules for a task. |
ChangePermissions | 262,144 | Specifies the right to change the security and audit rules associated with a task or folder. |
TakeOwnership | 524,288 | The right to change the owner of a task. |
Synchronize | 1,048,576 | The right to wait on a task. |
Read | 1,179,785 | Specifies the right to open and copy folders or tasks as read-only. This right includes the following rights: . |
Execute | 1,179,785 | Specifies the right run tasks. This right includes the following rights: . |
Write | 1,179,926 | Specifies the right to create tasks and folders, and to add or remove data from tasks. This right includes the following rights: . |
FullControl | 2,032,127 | Specifies the right to exert full control over a task folder or task, and to modify access control and audit rules. This value represents the right to do anything with a task and is the combination of all rights in this enumeration. |