Re: Getting info about users on the system
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.