Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 21 - lantastic v3+ - get account http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - LANtastic v3+ - GET ACCOUNT
        AX = 5F87h
        DS:SI -> 128-byte buffer for account information (see below)
        ES:DI -> ASCIZ machine name in form "\\machine"
Return: CF clear if successful
        CF set on error
            AX = error code
        BX destroyed
Note:   must be logged into the specified machine

Format of user account structure:
Offset  Size    Description
 00h 16 BYTEs   blank-padded username
 10h 16 BYTEs   reserved (00h)
 20h 32 BYTEs   user description
 40h    BYTE    privilege bits
                bit 7: bypass access control lists
                    6: bypass queue protection
                    5: treat as local process
                    4: bypass mail protection
                    3: allow audit entry creation
                    2: system manager
 41h    BYTE    maximum concurrent users
 42h 42 BYTEs   bit map for disallowed half hours, beginning on Sunday
                (bit set if half-hour not an allowed time)
 6Ch    WORD    internal (0002h)
 6Eh  2 WORDs   last login time
 72h  2 WORDs   account expiration date (MSDOS-format year/month:day)
 76h  2 WORDs   password expiration date (0 = none)
 7Ah    BYTE    number of days to extend password after change (1-31)
 7Bh  5 BYTEs   reserved

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson