Rediger

Del via


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