Deploying asp.net application in IIS6.0 with Forms authentication mode
<p>I am getting user name by using the following code:</p>

<p>txtName.Text = Environment.UserName;</p>

<p>I have deployed the code in IIS and while running the application then i am getting 
user name as "NETWORK SERVICE" in the textbox instead of logged user name.</p>

<p>And I am using the FORMS authentication mode. (this is mandatory)</p>

<p>Thanks in advance</p>
