• 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: Authentication only for non admin login.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Authentication only for non admin login.


  • Subject: Re: Authentication only for non admin login.
  • From: "Michael Ash" <email@hidden>
  • Date: Fri, 18 Jul 2008 11:39:03 -0400

On Fri, Jul 18, 2008 at 4:02 AM, ninad walvekar <email@hidden> wrote:
> hi,
> I think I have precisely mentioned what I want to do in the first 2 lines of
> my previous post. To add to it my current implementation is asking for a
> user name and password for admin as well as standard user login i want it to
> ask for a user name and password only for and only for  standard user login.
>
> Can anyone tell me a way to identify which user(root/admin/standard) has
> logged?

The simplest and most reliable technique is to simply attempt whatever
it is you're doing without authorizing. If it worked then you already
have the permissions you need. If it fails then authorize and try it
again.

Mike
_______________________________________________

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: 
 >RE:Authentication only for non admin login. (From: "ninad walvekar" <email@hidden>)
 >Re: Authentication only for non admin login. (From: "ninad walvekar" <email@hidden>)

  • Prev by Date: Re: Authentication only for non admin login.
  • Next by Date: Xcode style divider with embedded popup and pulldown menus
  • Previous by thread: Re: Authentication only for non admin login.
  • Next by thread: Re: Authentication only for non admin login.
  • Index(es):
    • Date
    • Thread