• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa/Foundation and CoreFoundation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: Formating a number in a string
  • Next by Date: Accessing NSTimer object added to NSRunLoop object
  • Previous by thread: [SOLVED] Re: Cocoa/Foundation and CoreFoundation
  • Next by thread: Writing a non-NSDocument based multiple document window apps
  • Index(es):
    • Date
    • Thread