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:49:30 -0500
On Mar 23, 2004, at 8:35 PM, Matt Jaffa wrote:
Well is there a way to get the list that only show up in the accounts
menu within the System Preferences?
I might have to use kDSRecordTypeUsers or nidump
Ask for the kDS1AttrGeneratedUID attribute and discard anything that
doesn't have it. You'll need to filter out "root", though, since for
some reason it gets it too. I can send you some sample code off-list if
you need it.
Also, with apologies for the cross-post, does anyone know why if I
request more than one attribute in the tDataList of attribute names I
pass to dsGetRecordList(), it still only returns the first one? The
only workaround I've found is to request all attributes and filter out
the ones I don't need.
-- 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.