23.06.2014 - In the MSDN documentation, I discovered they changed the definition of property Environment.UserName . Before .NET 3. Gets the user nameĀ .