Author: arvindharitus | Posted on: 1/11/2010 2:58:12 AM | Views : 373

Hi All,
I have a application for intranet in which i need to catch the user and domain name of the
system. I try three methos as following
1.  Response.Write(Environment.UserName);
    
2.  Response.Write(Page.User.Identity.Name);
  
 3.   // <identity impersonate="true"/> in web.config
       Response.Write(System.Security.Principal.WindowsIdentity.GetCurrent().Name);
But the problem is this is give the details only from deployment server.
But i need the details of the computer which request for page.
-Arvind

...

Go to the complete details ...