title: How to read Windows logged in username with PHP/IIS
body: <p>I am running a network. Here I have a domain controller (DC) I just installed IIS6 , PHP and Mysql on it. every thing is working fine.:)</p>
  
  <p>Now I want to bring up a script on this local website.
  The first problem is that I want to detect which one of network users (active directory users) are logged in with PHP. I mean it is enough for me when the user is logged in to windows there is no need for another authentication.</p>
  
  <p>I was wondering if I could just use a function or something... that its output is the AD username and user group.</p>