Showing results for other Directory Services - Scripting Blog [archived]

Aug 5, 2004
Post comments count0
Post likes count0

How Can I Determine if a User is a Local Administrator?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Some of the things we do in our logon scripts require the user to be a local administrator. How can the script tell if the user is a local admin or not?-- GM, Denver, CO Hey, GM. The best way to do that is to check the membership of the local Administrator’s group and see if the user is in there. To do that, you need to first...

Scripting Guy!VBScriptother Directory Services