How do I get the current username in .NET using C#?
Answer
string userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...
No comments:
Post a Comment