• 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 way to get list of user accounts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa way to get list of user accounts?


  • Subject: Re: Cocoa way to get list of user accounts?
  • From: Dave Camp <email@hidden>
  • Date: Tue, 11 Mar 2008 08:08:43 -0700

On Mar 10, 2008, at 11:00 PM, Mac QA wrote:

I am seeking the nice clean Cocoa way of getting a list of user
accounts on the local system. Ultimately in the form of an NSArray of
NSStrings of user account short names. There must be a way without
parsing obscure system files, or spawning off NSTasks and parsing
output, right? Any and all suggestions greatly appreciated. Thanks!

On Leopard, the new Identity Services API might be what you are looking for.



Dave

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Cocoa way to get list of user accounts? (From: "Mac QA" <email@hidden>)

  • Prev by Date: Re: Check box cell in NSTableView
  • Next by Date: Re: Check box cell in NSTableView
  • Previous by thread: Re: Cocoa way to get list of user accounts?
  • Next by thread: Creating an NSSocketPort on an available port?
  • Index(es):
    • Date
    • Thread