Is there a "User Name" that can be obtained and put into a LC script

Richard Gaskin ambassador at fourthworld.com
Tue Jul 10 09:11:51 EDT 2012


Roger Eller wrote:
> I would like RunRev to have $USER, $USERNAME, and/or $LOGNAME all return
> the name of the "device owner" for mobile (since they are not currently
> running a multi-user os).

Those are provided by the system.  LiveCode merely allows you to access 
those globals, but is not responsible for creating them.

If mobile OSes provide an API for obtaining the user name, it might be 
nice if there was a single function called something like userName for 
this, using the globals where the OS provides them or the API where the 
OS provides that.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the use-livecode mailing list