TASK_PROCESSTOKENSID_TYPE enumeration (taskschd.h)
Defines the types of process security identifier (SID) that can be used by tasks. These changes are used to specify the type of process SID in the IPrincipal2 interface.
Syntax
typedef enum _TASK_PROCESSTOKENSID {
TASK_PROCESSTOKENSID_NONE = 0,
TASK_PROCESSTOKENSID_UNRESTRICTED = 1,
TASK_PROCESSTOKENSID_DEFAULT = 2
} TASK_PROCESSTOKENSID_TYPE;
Constants
TASK_PROCESSTOKENSID_NONE Value: 0 No changes will be made to the process token groups list. |
TASK_PROCESSTOKENSID_UNRESTRICTED Value: 1 A task SID that is derived from the task name will be added to the process token groups list, and the token default discretionary access control list (DACL) will be modified to allow only the task SID and local system full control and the account SID read control. |
TASK_PROCESSTOKENSID_DEFAULT Value: 2 A Task Scheduler will apply default settings to the task process. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | taskschd.h |