Hi there we have a domian in out co,so I want to find out which user is logged in.
I try this codes but it does not give me good idea.
UserName = Environment.UserName;
UserName = Environment.UserDomainName;
for instance my username is vahid.ch in our domain,but above codes just return domainname and Username returns "System".
...
Go to the complete details ...