<USERNAME> [ HP DeskManager Customization ] MPE/iX 5.0 Documentation
HP DeskManager Customization
<USERNAME>
Syntax
<USERNAME [usernum] >
where:
usernum numeric value in the range 1 to 32767
Description
<USERNAME> returns an unquoted string containing the name of the current
user in the form "Firstname Secondname LASTNAME". If usernum is
specified, <USERNAME> will return the name of the user whose HP Desk
internal number is usernum. If no match is found for the number a null
string is returned. If no number is given, this returns the current user
name.
See also: <USERNUMBER>.
Example
&PRINT Hello <USERNAME>
If the person running this script is called John Miles:
Hello John MILES
will be displayed on the screen.
MPE/iX 5.0 Documentation