![]() | LogonTriggerUserId Property |
Gets or sets The identifier of the user. For example, "MyDomain\MyName" or for a local account, "Administrator".
This property can be in one of the following formats:
• User name or SID: The task is started when the user logs on to the computer.
• NULL: The task is started when any user logs on to the computer.
Namespace: Microsoft.Win32.TaskScheduler
Exception | Condition |
---|---|
NotV1SupportedException | Not supported under Task Scheduler 1.0. |