How do I get the username of system?

Bill Vlahos bvlahos at mac.com
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 (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.
lcTaskList: (http://www.infowallet.com/lctasklist/index.htm)
RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61)




More information about the use-livecode mailing list