Is the User an Admin?
Is the User an Admin?
- Subject: Is the User an Admin?
- From: chuck5566 <email@hidden>
- Date: Wed, 22 Mar 2006 22:00:30 -0600
I know that by using System Events I can get the (current) user's name. Is there any way to find out the user's privileges? I'd like to be friendly and do something like: if current user is an admin then do shell script "whatever" else do shell script "whatever" with administrator privileges end if Thanks, Chuck |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden