the user's name under OSX

Gordon Tillman got at mindspring.com
Fri Dec 19 08:14:47 EST 2008


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?



More information about the use-livecode mailing list