Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : USERID

USERID
Returns a string containing the user ID. (F)
Invocation
string = USERID
 
On return, contains the user ID. Its syntax is V (variable-length character string) with length 16.
Example
The following rule determines the user ID and prints it to the message log:

 
USERID_1;
_ LOCAL ID_STRING;
_ ------------------------------------------------------------------------
_ ------------------------------------------------------------+-----------
_ ID_STRING = USERID; | 1
_ CALL MSGLOG('THE USER ID IS: ' || ID_STRING); | 2
_ ------------------------------------------------------------------------

 
Resulting Output
Pressing PF2 after executing this rule displays the following:

 
-------------------- INFORMATIONAL MESSAGE LOG ------------------
COMMAND ===> SCROLL ===> P
THE USER ID IS: USR40

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved