Skip to content

Latest commit

 

History

History
67 lines (39 loc) · 1.46 KB

taskdefinition-principal.md

File metadata and controls

67 lines (39 loc) · 1.46 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
TaskDefinition.Principal property
For scripting, gets or sets the principal for the task that provides the security credentials for the task.
ed706616-50a1-40b2-8e02-6f548e1b714e
Principal property Task Scheduler
Principal property Task Scheduler , TaskDefinition object
TaskDefinition object Task Scheduler , Principal property
apiref
TaskDefinition.Principal
taskschd.dll
COM
reference
05/31/2018

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