Re: List of User Accounts
Re: List of User Accounts
- Subject: Re: List of User Accounts
- From: Gwynne <email@hidden>
- Date: Tue, 23 Mar 2004 20:24:56 -0500
On Mar 23, 2004, at 7:10 PM, Matt Jaffa wrote:
Is there some API to get the list of User accounts in the system?
One somewhat complicated but amazingly supported way to do this is to
use Directory Services to retrieve all kDSRecordTypeUsers records in
the node /NetInfo/root. I wrote code to do this. It's not very pretty,
but it does work.
-- Gwynne, key to the Code that runs us all
Formerly known as Sailor Quasar.
Email: email@hidden
Web:
http://musicimage.plasticchicken.com/
_______________________________________________
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.