Class WindowsScheduledTaskPrincipal
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a security principal used for running a scheduled task
public class WindowsScheduledTaskPrincipal : GlobalSerializableClassicBase
- Inheritance
-
WindowsScheduledTaskPrincipal
Constructors
WindowsScheduledTaskPrincipal()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsScheduledTaskPrincipal class.
public WindowsScheduledTaskPrincipal()
Properties
AccountName
Gets or sets the name of the account used to execute this task.
public string AccountName { get; set; }
Property Value
LogonType
Gets or sets the type of logon account.
public WindowsScheduledTaskLogonType LogonType { get; set; }
Property Value
LogonTypeString
Gets the type of logon account as a human readable string.
public string LogonTypeString { get; set; }
Property Value
RunLevel
Gets or sets the run level for the scheduled task.
public WindowsScheduledTaskRunLevel RunLevel { get; set; }
Property Value
UseHighestPrivileges
Gets whether the task will run with the highest privileges.
public BooleanOption UseHighestPrivileges { get; }
Property Value
Methods
ToString()
Returns the name of the account assigned to run this task.
public override string ToString()
Returns
- string
The name of the account assigned to run this task.