2.2.1 PSZSESSIONDATA
pszSessionData is a string field with the below syntax (in ABNF representation, as specified in [RFC4234]).
-
Start-rule = NumberofSessions SEP1 *(SessionInformation SEP1) NumberofSessions = 1*UNICODEDIGIT ; SEP1 = NULL ","; comma NULL = ""; null UNICODECHAR = (%x01-FF %x00-FF) / (NULL (%x00-2B / %x2D-5B / %x5D-FF)) ;Unicode character other than comma and back slash UNICODEDIGIT = NULL %x30-39; Unicode digit SessionInformation = ID SEP2 Userdomain SEP2 username SEP2 computername SEP2 year SEP2 month SEP2 dayofweek SEP2 day SEP2 hour SEP2 minute SEP2 second SEP2 milliseconds SEP2 idletime SEP2 SEP2 = NULL "\"; back slash ID = 1*UNICODEDIGIT; Userdomain = *UNICODECHAR; username = *UNICODECHAR ; computername = *UNICODECHAR ; year = 4*5UNICODECHAR ; month = 1*2UNICODECHAR ; dayofweek = 1*2UNICODECHAR ; day = 1*2UNICODECHAR ; hour = 1*2UNICODECHAR ; minute = 1*2UNICODECHAR ; second = 1*2UNICODECHAR ; milliseconds = 1*3UNICODECHAR ; idletime = 1*UNICODECHAR ;
NumberofSessions: A string that specifies the number of current active telnet sessions on the server.
Userdomain: A string that specifies the domain of which the user that established the telnet session is a member.
UserName: A string that specifies the user name of the user that established the telnet session.
Computername: A string that specifies the name of the client computer.
Year: A string that specifies the year component of time at which the telnet session was established. The valid values for this field are 1601 through 30827.
Month: A string that specifies the month component of time at which the telnet session was established. The valid values for this filed are as below:
-
Value
Meaning
1
January
2
February
3
March
4
April
5
May
6
June
7
July
8
August
9
September
10
October
11
November
12
December
Dayofweek: A string that specifies the day of week component of time at which the telnet session was established. The valid values for this field are as below:
-
Value
Meaning
0
Sunday
1
Monday
2
Tuesday
3
Wednesday
4
Thursday
5
Friday
6
Saturday
Day: A string that specifies the day component of time at which the telnet session was established. The valid values for this field are 1 through 31.
Hour: A string that specifies the hour component of time at which the telnet session was established. The valid values for this field are 0 through 23.
Minute: A string that specifies the minute component of time at which the telnet session was established. The valid values for this field are 0 through 59.
Second: A string that specifies the second component of time at which the telnet session was established. The valid values for this field are 0 through 59.
Milliseconds: A string that specifies the millisecond component of time at which the telnet session was established. The valid values for this field are 0 through 999.
Idletime: A string that specifies the idle time (represented in seconds). Idle time is the time for which there has been no exchange of any communication between telnet client and telnet server.