title: Why does an authentication mode of "Forms" result in an empty LOGON_USER server variable?
body: <p>Is it possible to:</p>
  
  <p>Disallow anonymous access in IIS</p>
  
  <p>AND</p>
  
  <p>Have...</p>
  
  <pre><code>&lt;authenticate mode="Forms"/&gt;
  </code></pre>
  
  <p>...in the Web config?  We need both access to the ASP.Net Membership provider <em>and</em> access to the Windows username in the LOGON_USER server variable.</p>
  
  <p>What we've found is that disallowing anonymous access in IIS will only populate LOGON_USER if we also set the authentication mode to "Windows"...which then doesn't let us use the membership provider.</p>
  
  <p>I'm confused why a mode of "Forms" results in an empty LOGON_USER variable.</p>