2.2.10.1.1 Save Session Info PDU Data (TS_SAVE_SESSION_INFO_PDU_DATA)

The TS_SAVE_SESSION_INFO_PDU_DATA structure is a wrapper around different classes of user logon information.


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

shareDataHeader (18 bytes)

...

...

...

infoType

...

infoData (variable)

...

shareDataHeader (18 bytes): Share Data Header (section 2.2.8.1.1.1.2) containing information about the packet. The type subfield of the pduType field of the Share Control Header (section 2.2.8.1.1.1.1) MUST be set to PDUTYPE_DATAPDU (7). The pduType2 field of the Share Data Header MUST be set to PDUTYPE2_SAVE_SESSION_INFO (38).

infoType (4 bytes): A 32-bit, unsigned integer. The type of logon information.

Value

Meaning

INFOTYPE_LOGON

0x00000000

This is a notification that the user has logged on. The infoData field which follows contains a Logon Info Version 1 (section 2.2.10.1.1.1) structure.

INFOTYPE_LOGON_LONG

0x00000001

This is a notification that the user has logged on. The infoData field which follows contains a Logon Info Version 2 (section 2.2.10.1.1.2) structure. This type is supported by all RDP versions except for RDP 4.0 and 5.0, and SHOULD be used if the LONG_CREDENTIALS_SUPPORTED (0x00000004) flag is set in the General Capability Set (section 2.2.7.1.1).

INFOTYPE_LOGON_PLAINNOTIFY

0x00000002

This is a notification that the user has logged on. The infoData field which follows contains a Plain Notify structure which contains 576 bytes of padding (section 2.2.10.1.1.3). This type is supported by all RDP versions except for RDP 4.0 and 5.0.

INFOTYPE_LOGON_EXTENDED_INFO

0x00000003

The infoData field which follows contains a Logon Info Extended (section 2.2.10.1.1.4) structure. This type is supported by all RDP versions except for RDP 4.0, 5.0, and 5.1.

infoData (variable): A Logon Info Version 1 (section 2.2.10.1.1.1), Logon Info Version 2 (section 2.2.10.1.1.2), Plain Notify (section 2.2.10.1.1.3), or Logon Info Extended (section 2.2.10.1.1.4) structure. The type of data that follows depends on the value of the infoType field.