UserId (sessionStateChangeTriggerType) Element
Contains the user for the Terminal Server session. When a session state change is detected for this user, a task is started.
<xs:element name="UserId"
type="nonEmptyString"
maxOccurs="1"
minOccurs="0"
/>
The UserId element is defined by the sessionStateChangeTriggerType complex type.
Parent element
Element | Derived from | Description |
---|---|---|
SessionStateChangeTrigger | sessionStateChangeTriggerType | Specifies a trigger that starts a task when a Terminal Server session changes state. |
Remarks
For C++ development, see UserId Property of ISessionStateChangeTrigger.
For script development, see SessionStateChangeTrigger.UserId.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for