Finding out the user's group
Finding out the user's group
- Subject: Finding out the user's group
- From: Sean Gilbertson <email@hidden>
- Date: Fri, 28 Nov 2003 02:07:20 -0600
All,
I'm interested in finding out the current user's group[s] (i.e.
"staff," "admin," etc.). There is NSUserName( ) for finding out the
user's name, but I couldn't find a function for group. I don't really
want to run "id," but if I could do that, I would, I suppose. Does
anyone know of a function to get group names/IDs for the current user?
Thanks,
Sean
_______________________________________________
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.