• 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
Finding out the user's group
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Finding out the user's group
      • From: Chris Ridd <email@hidden>
  • Prev by Date: Stdout Reading from an Asynchronous Task started with AuthorizationExecuteWithPrivileges
  • Next by Date: Re: const char* to char*
  • Previous by thread: Stdout Reading from an Asynchronous Task started with AuthorizationExecuteWithPrivileges
  • Next by thread: Re: Finding out the user's group
  • Index(es):
    • Date
    • Thread