 | TaskRights Enumeration |
Specifies the access control rights that can be applied to Task Scheduler tasks.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax[FlagsAttribute]
public enum TaskRights
<FlagsAttribute>
Public Enumeration TaskRights
[FlagsAttribute]
public enum class TaskRights
Members
| Member name | Value | Description |
---|
| FullControl | 2032127 | 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. |
| Write | 1179926 | Specifies the right to create tasks and folders, and to add or remove data from tasks. This right includes the following rights: . |
| Read | 1179785 | Specifies the right to open and copy folders or tasks as read-only. This right includes the following rights: . |
| Execute | 1179785 | Specifies the right run tasks. This right includes the following rights: . |
| Synchronize | 1048576 | The right to wait on a task. |
| TakeOwnership | 524288 | The right to change the owner of a task. |
| ChangePermissions | 262144 | Specifies the right to change the security and audit rules associated with a task or folder. |
| ReadPermissions | 131072 | The right to open and copy the access rules and audit rules for a task. |
| Delete | 65536 | The right to delete a folder or task. |
| 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. |
| 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. |
| DeleteChild | 64 | Specifies the right to delete a folder and any tasks contained within that folder. |
| ExecuteFile | 32 | Specifies the right to run a task. |
| 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. |
| 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. |
| AppendData | 4 | Specifies the right to append data to the end of a file. |
| 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. |
| 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. |
See Also