J John Apr 9, 2004 #1 Hi How can I get the currently logged in username from windows 2000/xp? Thanks Regards
P Patrick Steele [MVP] Apr 9, 2004 #2 Hi How can I get the currently logged in username from windows 2000/xp? Click to expand... See the WindowsPrincipal.Identity Property.
Hi How can I get the currently logged in username from windows 2000/xp? Click to expand... See the WindowsPrincipal.Identity Property.
G Gary Milton Apr 9, 2004 #3 John, In addition to Patrick's reply, you can also use Environment.UserName. HTH, Gary
H Herfried K. Wagner [MVP] Apr 11, 2004 #4 Gary, * "Gary Milton said: In addition to Patrick's reply, you can also use Environment.UserName. Click to expand... .... and 'SystemInformation.UserName'.
Gary, * "Gary Milton said: In addition to Patrick's reply, you can also use Environment.UserName. Click to expand... .... and 'SystemInformation.UserName'.