TaskPrincipalLogonType Property

Gets or sets the security logon method that is required to run the tasks that are associated with the principal.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[DefaultValueAttribute(typeof(TaskLogonType), "None")]
public TaskLogonType LogonType { get; set; }

Property Value

TaskLogonType

Exceptions

NotV1SupportedException TaskLogonType values of Group, None, or S4UNot are not supported under Task Scheduler 1.0.

See Also