Do I have local administrator privileges??

N

NH

Cross-Posted to:
microsoft.public.win2000.active_directory
microsoft.public.win2000.security

I have an install program which MUST be run by a local administrator (I
assume that it make changes to a protected part of the registry or
something). What I need is a simple test for administrator privileges which
users can run before they try to run the install package.

Ideally I would need a console command I can use to see if the current user
is in the local admins group.

Does anyone know if this is possible, or is there another test which can be
used here?

Thanks,

Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top