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

Re: Authorization


  • Subject: Re: Authorization
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 24 Apr 2008 22:10:32 -0600


On Apr 24, 2008, at 10:04 PM, Christopher Crawford wrote:

I'm trying to build a simple app that changes the login screen background, I have everything right but I have no idea how i can authorize the NSFileManager to move a file in the CoreServices folder. I've looked online for examples or pointers, and have been able to find none. Could anyone help out with this problem?


You have to use AuthorizationExecuteWithPrivileges() to do that; search for it in the documentation.

Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Authorization (From: Christopher Crawford <email@hidden>)

  • Prev by Date: Authorization
  • Next by Date: Re: Core Animation Deadlock
  • Previous by thread: Authorization
  • Next by thread: How to catch all mouse clicking (or avoid multiple click filtering in startTrackingAt)
  • Index(es):
    • Date
    • Thread