• 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: Getting info about users on the system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting info about users on the system


  • Subject: Re: Getting info about users on the system
  • From: Thomas Harrington <email@hidden>
  • Date: Wed, 10 Jul 2002 11:41:11 -0600

On Tuesday, July 9, 2002, at 07:53 PM, John Scalo wrote:
So I can use getpwent() to get the short names of the users on a system but
how do you go about getting the long names, "kind" (i.e. Admin or User), and
the path to their picture? Is that what DirectoryService.framework is for?
The docs for that are kind of dense. Any example source code around?

If you call getpwent(), you get back struct passwd data; this struct should contain the long name.
_______________________________________________
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: 
 >Getting info about users on the system (From: John Scalo <email@hidden>)

  • Prev by Date: Re: Application architecture question
  • Next by Date: Re: Application architecture question
  • Previous by thread: Getting info about users on the system
  • Next by thread: "Morphing" Sheets
  • Index(es):
    • Date
    • Thread