Re: getting login name in 4GL
Posted in 1996
Cheryl Kendricks wrote > >I'm not in anyway a UNIX expert. But what is wrong with just using what is >returned from the whoami command. To have control you could even set some >var SYSUSERID='whoami' at the SYSTEM DEFAULT LOGIN SHELL. One some systems you will maybe find 'whoami', on some 'who am i' or just 'who'. There are more risks using a external command, script or shell variable than lib calls. -- Chris Drauch ...................................................................... . c/o DRAUCH Ges.m.b.H. Tel. 43/ 3135/46387-0 . . Gewerbestrasse 5 Fax 43/ 3135/4638728 . . A-8071 Hausmannstaetten EMail cdr@xteam.co.at . ......................................................................