ROR GET USER INFO (1794)    REMOTE PROCEDURE (8994)

Name Value
NAME ROR GET USER INFO
TAG USERINFO
ROUTINE RORRP024
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
The ROR GET USER INFO remote procedure returns basic information about the
user.
INPUT PARAMETER
  • USER
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    User IEN in the NEW PERSON file. By default (if $G(USER)'>0), the DUZ is
    used).
    
RETURN PARAMETER DESCRIPTION
A negative value of the first "^"-piece of the Results[0] indicates that
 
  Results[i]            Error Descriptor
                          ^01: Error code
                          ^02: Message
                          ^03: Place of the error
 
Error descriptors are returned in reverse chronological order (most recent
error first).
 
Otherwise, the user info is returned in the Results[0].
an error occurred during the execution of the remote procedure. In this
 
  Results[0]            User Info
                          ^01: IEN
                          ^02: Name
                          ^03: Office Phone
                          ^04: Nickname
                          ^05: Read Timeout
                          ^06: Default Division IEN
                          ^07: Default Division Name
                          ^08: Institution IEN
case, the second piece of the Results[0] will contain number of the error
                          ^09: Institution Name
                          ^10: Station Number (with suffix)
descriptors returned in the subsequent nodes of the Results array.
 
  Results[0]            Result Descriptor
                          ^01: The last error code (LASTERR)
                          ^02: Number of the error descriptors