user name (long name)
user name (long name)
- Subject: user name (long name)
- From: Greg Spence <email@hidden>
- Date: Tue, 22 Oct 2002 17:08:45 -0500
Duncan Cowan, wrote...
I'm having trouble getting the full "User Name" of the current user
with AS.
This should work for you...
set usn to do shell script "niutil -readprop . /users/`whoami` realname"
display dialog usn
greggo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.