System Variables

UID

Current User ID

String System Variable 

Contents

String, current User ID

Description

The UID variable contains the current User ID. On systems without User registration, it returns the value of the environment variable USER or the Network User ID. The UID and WHO variables are identical.

See Also

USER Environment Variable
WHO Current User ID

Example

0010 ! START_UP
0020 open (1)"MYCONFIG"
0030 read (1,key=who,err=0050)X$
0040 setfid X$
0050 close (1)

?uid
SMITHJ