Re: Cocoa way to get list of user accounts?
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