TaskDefinition.Principal property

For scripting, gets or sets the principal for the task that provides the security credentials for the task.

This property is read/write.

Syntax

TaskDefinition.Principal As Principal

Property value

The principal for the task that provides the security credentials for the task.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

Principal