Getting the currently logged in user under Windows

J. Landman Gay jacque at hyperactivesw.com
Mon May 17 18:12:16 EDT 2010


Bob Sneidar wrote:
> I would use a lineoffset with "USERNAME=" as opposed to a repeat
> loop, but as another post pointed out $username is much better.

In case anyone's keeping score, on OS X it's $USER. There is also 
$LOGNAME. At least here, they're both the same thing.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list