ISessionStateChangeTrigger::put_UserId method (taskschd.h)

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

This property is read/write.

Syntax

HRESULT put_UserId(
  BSTR user
);

Parameters

user

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header taskschd.h
Library Taskschd.lib
DLL Taskschd.dll

See also

ISessionStateChangeTrigger