TaskService.ConnectedUser property

For scripting, gets the name of the user that is connected to the Task Scheduler service.

Syntax

TaskService.ConnectedUser As String

Property value

The name of the user that is connected to the Task Scheduler service.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll