Re: getting login name in 4GL
Posted in 1996
In article <mtidwellDr1vDK.B76@netcom.com>, mtidwell@netcom.com says... > >Howdy, > >does anyone know how i can get the login name of a User >from within a 4GL program? > >TIA >-- > There are three kinds of people in the World. Those who > can count, and those who can't. > > \\\\//_ It's easy. You have two wais to do it. 1st. do this sql sentence. select user into var_login_name from systables where tabname = "systables" 2nd. Use the function fgl_getenv(). For example let var_login_name = fgl_getenv("LOGNAME") ---> This run under I4gl V 6.2 and SOLARIS 2.4 \\\\|// . . -----oooO ( . ) Oooo-------------------- - Isidre Pons Roca. ipons@jet.es ----------------------------------------