List of System Users
List of System Users
- Subject: List of System Users
- From: Luke Sands <email@hidden>
- Date: Sun, 20 Jul 2003 00:49:01 +0100
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.