title: Grab username from IE, to authenticate against LDAP
body: <p>The users will only use IE, and within IE it can pass their credentials without being prompted to, if they are logged onto the domain controller.</p>
  
  <p>What I want to know is, how do I go about grabbing their username?</p>
  
  <p>I thought this would do the trick: <code>$_SERVER['auth_user'];</code>but no luck.</p>
  
  <p>Just like this <a href="https://stackoverflow.com/questions/168610/can-you-get-a-windows-ad-username-in-php">Can you get a Windows (AD) username in PHP?</a></p>
  
  <p>But I don't know what the code should look like this to capture/grab the user's username</p>
  
  <p>Any help is appreciated.</p>