Re: OSX users/pathnames
Do USER-HOMEDIR-PATHNAME and SYSTEM:GET-USER-NAME help?
Cheers
marco
On Jan 4, 2005, at 12:50 PM, Chris R. Sims wrote:
> Hi,
>
> I have an application that will be used by multiple user accounts in
> OSX. I would like each user to have a unique preference file stored
> somewhere in their user directory. However, to access this file, I
> need some way of knowing which user is currently logged in (or better,
> a pathname to the /Users/current_username directory). Since the
> application itself is stored only once on the hard drive, I can't see
> any way of getting at this through current-pathname. Of course I
> could prompt the user to locate their preference file, but I would
> much prefer this to be loaded automatically. Any ideas?
>
> Thanks,
>
> -Chris Sims
>
--
Marco Antoniotti http://bioinformatics.nyu.edu
NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488
715 Broadway 10th FL fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.