golfjrr Posted March 24, 2006 Share Posted March 24, 2006 Is there a way in autoit to determine if a user has admin rights before doing something. I have a script that starts up some services that require admin rights, and would like to abort before it starts trying to do something if the users doesn't have admin priviledges. I triked quick search, but didn't find anything. Sorry if this is repeated. Link to comment Share on other sites More sharing options...
GaryFrost Posted March 24, 2006 Share Posted March 24, 2006 If IsAdmin() Then MsgBox(0, "", "Admin rights detected") SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now