• 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: standard user or admin user ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: standard user or admin user ?


  • Subject: Re: standard user or admin user ?
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 16 Feb 2012 17:58:38 -0600

On 16 Feb 2012, at 11:46 AM, Rajendran P wrote:

> Is there any cocoa  by which i can determine ,  if the logged in user is standard user or admin user ?

Admin/non-admin status usually corresponds to privilege on Mac OS X, but it isn't identical. Users may be assigned privileges that would otherwise be strictly administrative. The status may not tell you as much as you may hope.

I assume you want to know whether the user is able to do something, not simply whether he has admin status. We can't help you with what you really want to do unless you tell us what that is. It may be as simple as attempting an operation and seeing whether it fails, or it might involve delving into directory services or authorization services. (See "Authorization Services Programming Guide" for an overview of the model.)

	— F


_______________________________________________

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: 
 >standard user or admin user ? (From: Rajendran P <email@hidden>)

  • Prev by Date: Re: __block __weak - am I doing this right?
  • Next by Date: Re: __block __weak - am I doing this right?
  • Previous by thread: Re: standard user or admin user ?
  • Next by thread: Re: standard user or admin user ?
  • Index(es):
    • Date
    • Thread