Click or drag to resize
Task Scheduler Managed Class Library

TaskPrincipalUserId Property

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;

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
[DefaultValueAttribute(null)]
public string UserId { get; set; }
Request Example View Source

Property Value

String
See Also