Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting username from an informix 4gl program 1

Status
Not open for further replies.

enriquegm82

Technical User
Feb 6, 2013
2
PE
How to get the user name of the Operating system from an Informix 4gl program.

eg:-
-rw-r----- 1 gkuser srth1 292 Jul 27 19:28 u1.txt

i need to get gkuser as the result?

 
What about the USER intrinsic function ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
PHV, could you tell what is the USER intrinsic function?

I was trying with:

Code:
let l_username = fgl_getenv("USERNAME")

What do you think about it?

 
I meant something like this:
SELECT USER INTO l_username FROM systables WHERE tabid=1

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top