SessionStateChangeTrigger.UserId property

For scripting, gets or sets the user for the Terminal Server session. When a session state change is detected for this user, a task is started.

Syntax

SessionStateChangeTrigger.UserId As String

Property value

The user for the Terminal Server session.

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