Get Log-on Information Table                         

Server

N

Station

Y

Interrupt

21h

Input

Output

AX FFh 00h     AX
BX          
CX   00h     CX
DX     Pointer to Table ES:BX
Table Layout:

    RemoteUserTable     struct
        NODE_ID         db      ?            ; TopWare Station Number
        USER_NAME       db      15 dup(?)    ; User Name
        USER_NO         dw      ?            ; User No.
        GROUP_NO        db      ?            ; Group Attributes
        DEFPS_NODE      db      ?            ; Current Printer Server NODE ID
        PRINT_MAP_TBL   db      16 dup (?)   ; 16 Printer Servers NODE ID
    RemoteUserTable     ends

Description:

    NODE_ID       The node_Id is the TopWare ID (1 - 254) of that
                  WorkStation.  To get a TopWare ID, it is recommended to
                  use the "Get Station Address" function rather than this
                  function. Please refer to function AH = 0FFh, AL = 82h.

    USER_NAME     The length of this field is 15 bytes, a  will
                  be appended at the right side of the username if its
                  length is less than 15 bytes.

    GROUP_NO:
GROUP_NO
Bit Dec Hex  Description
0 1 01h  Group 0
1 2 02h  Group 1
2 4 04h  Group 2
3 8 08h  Group 3
4 16 10h  Group 4
5 32 20h  Group 5
6 64 40h  Group 6
7 128 80h  Group 7
                  1 means that the user belongs to that group
                  0 means that the user does not belong to that group

    DEFPS_NODE    Current Printer Server station address (1 - 254)
                  0 means local printer.

    PRINT_MAP_TBL 16 Printer Servers' station address.


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .