DSIYX WHOAMI USER INFO (3999)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYX WHOAMI USER INFO
TAG WHOAMI
ROUTINE DSIYX
RETURN VALUE TYPE ARRAY
DESCRIPTION
WHOAMI2
Item)
 - The user's default inventory location (if GIP)
 - Whether or not the user is a Super Administrator
 
Returns information about the use supplied by the GUI with the DUZ value.
 
This RPC returns information about:
 
 - The user's starting tab (Equipment, Work Order or GIP)
 - The user's security level
 - The user's starting screen within each functionality (Metric, Today or 
INPUT PARAMETER
  • USER
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   25
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    USER
     
    The user's DUZ value for the user in which the GUI needs information.  
    Does not have to be the current user.
    
RETURN PARAMETER DESCRIPTION
RETURN PARAMETER
 
Pieces returned for 2,3,4 above:
 - p1:  Function (EQ, PO, WO, GIP, PO, or VENDOR)
 - p2:  User Type definition (parameter to set if this is parameterized)
 - p3:  Description of this user type
 - p4:  Starting screen (Metric, Today, or Item)
 - p5:  If GIP user - starting location
 - p6:  Free text to describe how this user's data was obtained
 
NOTE:  Some user types are set based on keys rather than a parameter 
 
setting, this is indicated in piece 6 of the return value
 
DSIYRET(1) = USER DUZ ^ STARTING TAB (EQ, PO, WO, or GIP) ^ Super Admin 
                Y/N
 
DSIYRET(21) = Information on Equipment functionality for user
DSIYRET(3) = Information on Work Order functinoality for user
DSIYRET(4) = Information on Inventory functionality for user