Re: USER function
Posted in 1991
Snorri Bergmann — — source: Informix-list mailing list archive (1991-1998)
> > > You may want to use a C function which picks up the LOGNAME from the > > environment instead. 4.1 has a function like this built in to 4GL. > > Is 4.1 supposed to let you do something like the following? > > DEFINE cur_user CHAR(8) > > LET cur_user = USER # or maybe > LET cur_user = some_kind_of_user_ID_function_thing() How about LET cur_user = fgl_getenv("LOGNAME") -- Snorri Bergmann | Internet: snorri@strengur.is Strengur Consulting Engineers | Bang: ...!uunet!strengur.is!snorri Storhofdi 15 | Phone: +354 1 685130 112 Reykjavik Iceland | Telefax: +354 1 680628