How do I get the username of system?

Bill Vlahos bvlahos at
Sun Oct 27 19:13:36 EDT 2013

I can use the hostname function to get the domain name. Is it possible to get the user name (long or short)? I’m trying to pre-populate a field with the name of the user.

I see there is an Mac external to do this so I’m thinking it isn’t built in to LC and I can’t find it in the docs.

Is it possible without an external? I want it for Mac, Windows, and iOS and maybe Android in the future.

Bill Vlahos
InfoWallet ( is about keeping your important life information with you, accessible, and secure.
lcTaskList: (
RunRev lcTaskList Forum: (

More information about the use-livecode mailing list