Re: What's the official way to detect a user has administration privileges?
Re: What's the official way to detect a user has administration privileges?
- Subject: Re: What's the official way to detect a user has administration privileges?
- From: Chris Ridd <email@hidden>
- Date: Tue, 24 Jun 2008 17:18:57 +0100
On 24 Jun 2008, at 17:04, Stephane Sudre wrote:
Maybe I should rephrase the question:
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?
Cheers,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden