Kbase P7323: How to retrieve user name into 4GL code?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/29/2003 |
|
Status: Unverified
GOAL:
How to retrieve user name into 4GL code?
FACT(s) (Environment):
Progress 9.1x
FIX:
The following 4GL piece can be used on any platform:
DEF VAR cUserName as CHARACTER.
cUserName = OS-GETENV( IF OPSYS = "UNIX":U THEN "LOGNAME" ELSE "USERNAME" ).