title: Check for Administrative access in c++
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4230602/detect-if-program-is-running-with-full-administrator-rights">Detect if program is running with full administrator rights</a>  </p>
  </blockquote>
  
  
  
  <p>How to check what rights the user?</p>
  
  <p>I need to chek write access to C:/Windows/SomeFolder</p>