• 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: List of User Accounts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >List of User Accounts (From: Matt Jaffa <email@hidden>)
 >Re: List of User Accounts (From: Gwynne <email@hidden>)
 >Re: List of User Accounts (From: Matt Jaffa <email@hidden>)

  • Prev by Date: Re: List of User Accounts
  • Next by Date: Re: Graphite examples ??
  • Previous by thread: Re: List of User Accounts
  • Next by thread: Re: List of User Accounts
  • Index(es):
    • Date
    • Thread