Get Station's Logged Info (old) 0x2222 23 22

Returns information about a user at the given connection number.

NetWare Server:2.x, 3.x, 4.x, 5.x

Request Format

Offset

Content

Type

Request header

6

FunctionCode (23)

byte

7

SubFuncStrucLen (2)

word (Hi-Lo)

9

SubFunctionCode (22)

byte

10

TargetConnectionNumber

byte

Reply Format

Offset

Content

Type

Reply header

8

UniqueUserID

long (Hi-Lo)

12

UserType

word (Hi-Lo)

14

UserName

byte[48]

62

LoginTime

byte[7]

69

Reserved

byte

Return Values

Decimal

Hex

Description

0

0x00

Successful

150

0x96

Server Out Of Space

252

0xFC

No Such Object

253

0xFD

Bad Station Number

254

0xFE

Directory Locked

255

0xFF

Hard Failure

Remarks

LoginTime has the following format:

Byte

Value

Description

0

Year

Contains a value from 0-99. Values from 80-99 correspond to the years 1980-1999. Values from 0-79 correspond to the years 2000-2079.

1

Month

Contains a value from 1-12, which corresponds to the months January through December.

2

Day

Contains a value from 1-31, which indicates the current day of the month.

3

Hour

Contains a value from 0-23, which indicates the hour of the day (0 means 12:00 midnight, 23 means 11:00 p.m., etc.).

4

Minute

Contains a value from 0-59, which indicates the current minute in the hour.

5

Second

Contains a value from 0-59, which indicates the current second in the minute.

6

DayOfWeek

Contains a value from 0-6, which corresponds with the weekday (0 for Sunday, 6 for Saturday, etc.).

Any client can call Get Station’s Logged Info (old) (0x2222 23 22).

Get Station’s Logged Info (old) (0x2222 23 22) is replaced by Get Station’s Logged Info (0x2222 23 28).

See Also

Get Station's Logged Info 0x2222 23 28, Get Object Connection List (old) 0x2222 23 21