• 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: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.


  • Follow-Ups:
    • Re: List of User Accounts
      • From: Matt Jaffa <email@hidden>
References: 
 >List of User Accounts (From: Matt Jaffa <email@hidden>)

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