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

Re: NSUIElement


  • Subject: Re: NSUIElement
  • From: Charles Srstka <email@hidden>
  • Date: Fri, 4 Oct 2002 16:29:30 -0500

I think that getgid() aught to do it.

Charles

On Friday, October 4, 2002, at 04:12 PM, Ben Mackin wrote:

On 10/4/02 1:57 PM, "Finlay Dobbie" <email@hidden> wrote:

You can't rely on the user running your application having write
permissions to your application bundle or the directory containing it.
For example, if they are a non-administrator and the app has been
installed in /Applications by an admin.

Ok, then what I will do is disable the option to switch if they are not the
admin. How does one check if the current user has admin privileges, or if
they are a "normal" user?

Thanks,
Ben

http://www.shayufilms.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.

References: 
 >Re: NSUIElement (From: Ben Mackin <email@hidden>)

  • Prev by Date: Conflicting Namespaces on the Language Level
  • Next by Date: Re: NSSystemMenu ?
  • Previous by thread: Re: NSUIElement
  • Next by thread: Re: NSUIElement
  • Index(es):
    • Date
    • Thread