Windows User
C#
2
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am trying to get the username of the user logged into Windows Server 2003 the followiong code seems to work ok for windows xp but when i use the smae code on Server 2003 the code returns a blank.If anyone has any ideas or suggestions they would be appreciated..... string user = HttpContext.Current.Request.ServerVariables["LOGON_USER"]; Thanks in advance Tim
-
Hi, I am trying to get the username of the user logged into Windows Server 2003 the followiong code seems to work ok for windows xp but when i use the smae code on Server 2003 the code returns a blank.If anyone has any ideas or suggestions they would be appreciated..... string user = HttpContext.Current.Request.ServerVariables["LOGON_USER"]; Thanks in advance Tim