TaskGetSecurityDescriptorSddlForm Method

Gets the security descriptor for the task. Not available to Task Scheduler 1.0.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public string GetSecurityDescriptorSddlForm(
	SecurityInfos includeSections = SecurityInfos.Owner|SecurityInfos.Group|SecurityInfos.DiscretionaryAcl
)

Parameters

includeSections  SecurityInfos  (Optional)
Section(s) of the security descriptor to return.

Return Value

String
The security descriptor for the task.

Exceptions

NotV1SupportedExceptionNot supported under Task Scheduler 1.0.

See Also