Skip to content

MachineUserHistoryWTSSessionInformation

For remote terminal sessions, records the WTSSessionInformation, see WTSQuerySessionInformation MSDN documentation.

Fields

Field Type Description
ApplicationName nvarchar Published name of the application that the session is running. Not supported on all Windows versions.
ClientAddress nvarchar Contains the client's IP Address
ClientDirectory nvarchar Contains the directory in which the client is installed
ClientName nvarchar Contains the name of the client..
ClientProductID int Contains a client specific product identifier
ClientProtocolType nvarchar Console, ICA or RDP.
DomainName nvarchar Contains the name of the domain to which the logged-on user belongs
ID bigint Internal ID for the MachineUserHistoryWTSSessionInformation entity (Primary Key)
InitialProgram nvarchar Name of the initial program that Remote Desktop Services runs when the user logs on
MachineUserHistoryID bigint Internal ID that references the MachineUserHistory entity (Foreign Key)
SessionID bigint ID of the terminal server session
UserName nvarchar Name of the user associated with the session
WinStationName nvarchar Name of the Remote Desktop Services session
WorkingDirectory nvarchar Default directory used when launching the initial program