juggernot
Well-known member
- Joined
- Sep 28, 2006
- Messages
- 173
- Programming Experience
- Beginner
I've created an amateur installer for one of my programs, which places my .exe in start-up. This works fine for users that have administrative privliges, but those who don't get an error. I know how to find out the current username, but I can't seem to find out their rights,(limited, administrative, etc). I want the program to check if they have the proper rights, and if they don't I want a form to pop up where they can run the program as another user who has administrative rights. Is there an easy way to do this?