Re: What's the official way to detect a user has administration privileges?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jun 24, 2008, at 18:18, Chris Ridd wrote: On 24 Jun 2008, at 17:04, Stephane Sudre wrote: Maybe I should rephrase the question: Not in this case. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... How do you check if "Allow user to administer this computer" is turned on for a specific user account? It feels like you're trying to second-guess the OS here - would it be better to simply attempt whatever it is you want to do, and if that fails due to lack of privileges (assuming you can detect that) retry with more privileges? This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephane Sudre