Re: Cocoa/Foundation and CoreFoundation
Re: Cocoa/Foundation and CoreFoundation
- Subject: Re: Cocoa/Foundation and CoreFoundation
- From: Mel Walker <email@hidden>
- Date: Sun, 14 Mar 2004 11:53:59 -0700
On Mar 14, 2004, at 7:25 AM, Matt Jaffa wrote:
Now I need to find a way to modifiy the code to return the Users home
directory of the current logged in user.
Take a look at the SystemConfiguration framework. There is a function
SCDynamicStoreCopyConsoleUser(), which returns the name, user ID, and
group ID of the currently logged in user. It's in
SCDynamicStoreCopySpecific.h.
--
Mel Walker <email@hidden>
Software Engineer
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.