Click or drag to resize
Task Scheduler Managed Class Library

TaskPrincipal Properties

The TaskPrincipal type exposes the following members.

Properties
  NameDescription
Public propertyAccount
Gets the account associated with this principal. This value is pulled from the TaskDefinition's XMLText property if set.
Public propertyDisplayName
Gets or sets the name of the principal that is displayed in the Task Scheduler UI.
Public propertyGroupId
Gets or sets the identifier of the user group that is required to run the tasks that are associated with the principal. Setting this property to something other than a null or empty string, will set the UserId property to NULL and will set the LogonType property to TaskLogonType.Group;
Public propertyId
Gets or sets the identifier of the principal.
Public propertyLogonType
Gets or sets the security logon method that is required to run the tasks that are associated with the principal.
Public propertyProcessTokenSidType
Gets or sets the task process security identifier (SID) type.
Public propertyRequiredPrivileges
Gets the security credentials for a principal. These security credentials define the security context for the tasks that are associated with the principal.
Public propertyRunLevel
Gets or sets the identifier that is used to specify the privilege level that is required to run the tasks that are associated with the principal.
Public propertyUserId
Gets or sets the user identifier that is required to run the tasks that are associated with the principal. Setting this property to something other than a null or empty string, will set the GroupId property to NULL;
Top
See Also