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

Mark Schonewille m.schonewille at
Mon Jul 2 13:32:00 EDT 2012


Try $USER on Mac and $USERNAME on Windows. Both are global variables.

Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces.

On 2 jul 2012, at 19:27, Mark Rauterkus wrote:

> Hi,
> I'm looking for a fail safe way to get a "user name" or some other
> specific type of ID from both a desktop computer as well as a mobile
> device.
> I'm thinking of a "who am I" type lookup -- but for the local user.
> Does one exist in LC?
> Does it work with desktop and mobile?
> I might be able to use the IP Number -- but searching the manual for
> username and IP Number nets nothing of value.
> Thanks.

More information about the Use-livecode mailing list