Re: User Access Rights
Re: User Access Rights
- Subject: Re: User Access Rights
- From: iseecolors <email@hidden>
- Date: Fri, 15 May 2009 12:15:07 -0700
Actually the only reason I want to know is that tech support wants to
know when a user calls in.
I just want to place some text in the UI, so that indicates whether
the user has admin rights or not.
Rich
On May 15, 2009, at 12:02 PM, Kyle Sluder wrote:
On Fri, May 15, 2009 at 2:33 PM, iseecolors
<email@hidden> wrote:
I am looking for how to determine if a given user is allowed to
Administer
the host computer or not. I am guessing that there is something
similar to
CFPreferencesCopyValue or NSUserName that I can use to determine this
information.
Don't try to head the user off at the pass. If you need the user to
authenticate as an administrator, don't disable that functionality
simply because the user is not an administrator. The authorization
interface allows authenticating as any administrator, not just the
currently logged-in user.
--Kyle Sluder
_______________________________________________
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