RegistrationInfo.SecurityDescriptor property

For scripting, gets or sets the security descriptor of the task. If a different security descriptor is supplied during task registration, it will supersede the security descriptor set with this property.

Syntax

RegistrationInfo.SecurityDescriptor As String

Property value

The security descriptor that is associated with the task.

Remarks

When reading or writing XML for a task, the security descriptor of the task is specified using the SecurityDescriptor element of the Task Scheduler schema.

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

Task Scheduler