Re: List of System Users
Re: List of System Users
- Subject: Re: List of System Users
- From: David Remahl <email@hidden>
- Date: Sun, 20 Jul 2003 07:08:55 +0200
"Visible" users are those with a UID >= 500.
/ Regards, David Remahl
On svndag 20 juli 2003, at 01.49AM, Luke Sands wrote:
Hi,
I'm trying to a create a list of users on the system, excluding any
hidden users such as root, mysql, www, unknown etc. My software will
not know the hidden users, so it needs to be able to weed out and
display only the users System Preferences and Login Window show.
I need a solution for cocoa.
I'm currently using NSTask with nicl:
nicl -v . -list /users/
But it returns all users, and not just the regular system users.
Any help or code for listing users on a system would be very much
appreciated.
Thanks for your help.
Luke.
_______________________________________________
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.