title: Windows authentication in MVC 5
body: <p>I've been charged with the task of implementing Windows Authentication for a project I'm working on. I've looked all over for examples but none seems to suit my situation.</p>
  
  <p>All users that have a valid Windows account should be able to access the application, but only some users who have been configured as Admin should be able to access some parts of the site.</p>
  
  <p>I thought it would be a case of using:</p>
  
  <pre><code>User.Identity.IsAuthenticated
  </code></pre>
  
  <p>but this always returns false. My very limited understanding of this means that I think this should be true. How to I go about authenticating a user automatically using the account they're logged into so they don't have to enter a username/password combination?</p>
  
  <p>I'm am using MVC 5.</p>