A ALI-R Nov 1, 2004 #1 How can I get the username that a user has logged in with to windows ,in my code? thanks
N Nicholas Paldino [.NET/C# MVP] Nov 1, 2004 #2 ALI-R, You can use the static UserName property on the Environment class to get this information. Hope this helps.
ALI-R, You can use the static UserName property on the Environment class to get this information. Hope this helps.