w3ka dev - share the knowledge .NET
How to get the value of the server variable LOGON_USER
1. Uncheck Allow Anonymous in the security tab of the site properties in IIS. At least Basic or Windows Authetication is needed.
2. Use the variable Request.ServerVariables("LOGON_USER") to get the full user name
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment