Skip to content

Latest commit

 

History

History
85 lines (49 loc) · 2.19 KB

taskschedulerschema-processtokensidtype-principaltype-element.md

File metadata and controls

85 lines (49 loc) · 2.19 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
ProcessTokenSidType (principalType) Element
Specifies the process security identify (SID) type of the task.
d9bffa92-c0dc-4332-a29c-7f2710ec34e3
ProcessTokenSidType element Task Scheduler
apiref
ProcessTokenSidType
Schema
reference
05/31/2018

ProcessTokenSidType (principalType) Element

Specifies the process security identify (SID) type of the task.

<xs:element name="ProcessTokenSidType"
    type="processTokenSidType"
    maxOccurs="1"
    minOccurs="0"
 />

The ProcessTokenSidType element is defined by the principalType complex type.

Parent element

Element Derived from Description
Principal principalType Specifies the security credentials for a principal.

Remarks

For C++ development, the process SID type is specified by using the IPrincipal2::ProcessTokenSidType property.

Examples

The following XML defines the process SID type of the task.

<Principal>
    <GroupId>NT AUTHORITY\LOCAL SERVICE</GroupId>
    <ProcessTokenSidType>None</ProcessTokenSidType>
</Principal>

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]

See also

Task Scheduler