i have an asp.net application which requires user's current name.
when the use the below code.. it runs well on my local machine and gives my username.. however when i deploy the application on server.. it returns NTAUthority\IUSR.
can any one tell me..why does that happen??
how to handle this issue? Please help