On Fri, Jul 18, 2008 at 4:02 AM, ninad walvekar <[EMAIL PROTECTED]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to