Hi guys,
when i run the following code from our web server i get NT AUTHORITY\NETWORK SERVICE and a blank field for the following code.
I want to get my windows login, za\cmhbzl. How would i go about doing this?
WindowsIdentity id = WindowsIdentity.GetCurrent();
TextBox1.Text = id.Name;
TextBox2.Text = Thread.CurrentPrincipal.Identity.Name;
Thanks,
Bryan ...
Go to the complete details ...