Export (0) Print
Expand All

TASK_PROCESSTOKENSID_TYPE enumeration

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_NONE          = 0,
  TASK_PROCESSTOKENSID_UNRESTRICTED  = 1,
  TASK_PROCESSTOKENSID_DEFAULT       = 2
} TASK_PROCESSTOKENSID_TYPE;

Constants

TASK_PROCESSTOKENSID_NONE

No changes will be made to the process token groups list.

TASK_PROCESSTOKENSID_UNRESTRICTED

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

A Task Scheduler will apply default settings to the task process.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Taskschd.h

See also

Task Scheduler Enumerated Types
IPrincipal2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft