• 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
RE: User Access
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: User Access


  • Subject: RE: User Access
  • From: "Mondragon, Ian" <email@hidden>
  • Date: Fri, 07 Mar 2003 15:38:37 -0600

you can use NSUserName() to get the current user name, and then use the
regular c routines to get the groups...

- ian

> -----Original Message-----
> From: email@hidden [SMTP:email@hidden]
> Sent: Friday, March 07, 2003 2:15 PM
> To: email@hidden
> Subject: User Access
>
> Hi,
>
> I am trying to write a user-security module. Basically I am thinking that
> it
> would be easy for me to get the current user's name - the code must be out
> there
> somewhere.
>
> What I want to be able to do is check whether the current user has "root"
> or
> "administer" access on the computer. Anyone know how to do this - or can
> direct
> me to the right sources...
>
> Thanks for the help
>
> Zameer
>
> __________________________________________________________
> Get your FREE personalized e-mail at http://www.canada.com
> _______________________________________________
> 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.
_______________________________________________
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.

  • Prev by Date: dataWithEPSInsideRect and fonts
  • Next by Date: Re: [code] Source code for a Time Control
  • Previous by thread: User Access
  • Next by thread: dataWithEPSInsideRect and fonts
  • Index(es):
    • Date
    • Thread