OLGetUserId [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
OLGetUserId
This is used to return the user name stored as current object
information. The ID may be up to 46 characters and may include node and
location information for HP Desk.
Format
OLGetUserId (Words, Index, ScratchValue, OLStatus)
Words is a 23 word array. It is used as input by HP Desk. However, it
must be passed by reference or declared as Var in Pascal.
Pascal
Packed Array (1..23) of WORD
Cobol
01 WORD ARRAY
05 FILLER PIC S9(4) COMP
OCCURS 23 TIMES
UserId is stored as a 36 character name, 6 character location, 2
character sublocation. If there is no user ID, or if the application
requesting the user's ID was not invoked by HP Desk, a blank filled
string is returned. HP Desk sets or modifies the value of this
parameter. Information is passed back to the caller (this must be Var in
Pascal).
Pascal
Packed Array (1..46) of CHAR
Cobol
05 FILLER PIC S9(4) COMP
OCCURS 9 TIMES
OLStatus is a 10 word array used to return status information about the
successful or otherwise completion of an intrinsic call. HP Desk sets or
modifies the value of this parameter. Information is passed back to the
caller (this must be Var in Pascal).
Pascal
Packed Array (1..10) of WORD
Cobol
01 STATUS_TYPE
05 OLSTATUS PIC S9(4) COMP
05 FILLER PIC S9(4) COMP
OCCURS 9 TIMES
MPE/iX 5.0 Documentation