title: How to get Window user Identity? "User.Identity.Name" returning App Pool Identity instead of Windows User
body: <p>I have a MVC 4 application deployed on IIS. I am trying to get the Windows user in code as following but its reuring me the App Pool user. </p>
  
  <p>Code Inside Controller to get User: </p>
  
  <pre><code>User.Identity.Name
  </code></pre>
  
  <p>I have tried to chaged the App pool Identity to Local System, NetworkSystem and ApplicationPoolIdentity. But then it stoped returing anything back.</p>
  
  <p>What I am looking for it that I don't want Login prompt screen to be displayed when user hit the site, site should autometically pick the System user and display the results accordingly. </p>
  
  <p>config is as below:</p>
  
  <pre><code>&lt;authentication mode="None"/&gt;
  </code></pre>
  
  <p>Thanks in Advance</p>