View Single Post
  #1  
Old 03-10-2008, 03:51 AM
Peter Schregle Peter Schregle is online now
Registered User
 
Join Date: 01-20-2003
Posts: 4
How to detect administrator rights under Vista

In http://www.kinook.com/Forum/showthre...?threadid=2258 you describe how to run Visual Build as an administrator under Vista.

How can I detect if Visual Build is run with administrator rights? I want to fail with an error, if it is run without administrator rights.

Thanks,
Peter
Reply With Quote