SyntaxFix
Write A Post
Hire A Developer
Questions
You can also try
System.Environment.GetEnvironmentVariable("UserName");