Scott in 10.5 that information is stored in Directory Services. The dscl command is used to interact with that. For example:

$ dscl . -read /Users/gordy RealName
RealName:
 Gordon Tillman

(that's me!)

--gordy


On Dec 19, 2008, at 06:07, Scott Morrow wrote:


I'm trying to get the user's name under OSX. I can get the environment variable

$USER

but this only returns the user's short name. Any ideas for getting the full name?
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to