Re: Writing kCFPreferencesAnyUser preferences by limited user
Re: Writing kCFPreferencesAnyUser preferences by limited user
- Subject: Re: Writing kCFPreferencesAnyUser preferences by limited user
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 13 Feb 2009 17:54:35 -0700
On Feb 13, 2009, at 4:54 PM, Alexander Shmelev wrote:
I have found that I should use Security.framework. Then I wrote code
below, it shows authentication dialog for limited user, but settings
still not saving for limited user.
What do I do wrong? Could you advise me how to fix code?
You can't elevate an existing task's privileges, so you'll have to do
whatever you need to do in a helper app invoked with
AuthorizationExecuteWithPrivileges(). See the
BetterAuthorizationSample sample code on ADC for details.
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