Dear All,
I am using the following code to get the NT ID for my intranet application
string CurrentUser1;
CurrentUser1 = System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString();
string[] Cuser1 = CurrentUser1.Split('\\');
Response.Write(@"");
It is working fine in the local development system, But problem arises when I deployed on live it is taking the ID of the server and its toughing error.
Can any one let me how to get the client system NT ID .
Plz let me know how to solve this.
解决方案