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

Andre Garzia andre at andregarzia.com
Wed Jul 11 11:16:34 EDT 2012


Folks,

I think that mobileBuildInfo("USER") may return the info you're looking for.

On Tue, Jul 10, 2012 at 9:11 AM, Richard Gaskin
<ambassador at fourthworld.com>wrote:

> 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<http://twitter.com/FourthWorldSys>
>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.



More information about the use-livecode mailing list