How do I get the username of system?

Bill Vlahos bvlahos at mac.com
Mon Oct 28 19:56:38 EDT 2013


Richard,

Thanks it gives the short name which I assume is the login name. I wonder how you can get the long name which is more descriptive. It looks like you use the same for iOS: $USER

Where did you find this? I don’t see it in the Dictionary.

Bill Vlahos

On Oct 27, 2013, at 4:24 PM, Richard Gaskin <ambassador at fourthworld.com> wrote:

> No externals needed - the info is available in a global var:
> 
> Mac:     $USER
> Linux:   $USER
> Windows: $USERNAME
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for Desktop, Mobile, and Web




More information about the use-livecode mailing list