How to Get Account name of Machine I am logged In

Sreenath G

Sreenath G

Feb 17 2011 4:44 AM

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)