Sreenath G

Sreenath G

  • NA
  • 233
  • 311.8k

How to Get Account name of Machine I am logged In

Feb 17 2011 4:44 AM

HI,
How can I get the account information I am logged in. Like if I am logged in with stalin_king into one machine, then how can I get that thorugh ASP.Net.
I am using WindowsIdentity.GetCurrent().Name.ToString().Trim();,  but this is giving the server account name where as I want the user name of the machine where I open this site.
Any ideas.

Answers (1)