Compartilhar via


2.2.10.1.1.1 Logon Info Version 1 (TS_LOGON_INFO)

The TS_LOGON_INFO structure is a fixed-length structure that contains logon information intended for the client.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cbDomain

Domain (52 bytes)

...

...

cbUserName

UserName (512 bytes)

...

...

SessionId

cbDomain (4 bytes): A 32-bit, unsigned integer. The size of the Unicode character data (including the mandatory null terminator) in bytes present in the fixed-length Domain field.

Domain (52 bytes): An array of 26 Unicode characters: Null-terminated Unicode string containing the name of the domain to which the user is logged on. The length of the character data in bytes is given by the cbDomain field.

cbUserName (4 bytes): A 32-bit, unsigned integer. Size of the Unicode character data (including the mandatory null terminator) in bytes present in the fixed-length UserName field.

UserName (512 bytes): An array of 256 Unicode characters: Null-terminated Unicode string containing the username which was used to log on. The length of the character data in bytes is given by the cbUserName field.

SessionId (4 bytes): A 32-bit, unsigned integer. Optional ID of the session on the remote server according to the server. Sent by all RDP servers, except for RDP 4.0 servers.