Seven price
asked on
The USERname environment variable
yes I can retrieve the computer signin username if the file exist on my computer, but if I put this code on another server it will only retrieve the server username if logged in. I want to to be able to retrieve the username on the client side of anyone computer to display on a webpage, this is for intranet use.
<%
Response.Write("The USERname environment variable is : " & Environment.GetEnvironment Variable(" USERNAME") )
%>
<%
Response.Write("The USERname environment variable is : " & Environment.GetEnvironment
%>
Enable NT Authentication in IIS instead of anonymous access
ASKER
Ok but does the computer requires restart?
the value still comes up null
the value still comes up null
ASKER
I am trying to catch the client side because like i said it works on the main computer i am on but not on the living server. what do you think./?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok that already happen but I do not want everyone to login this cannot happen dynamically. if not if everyone put a username and password. do they have to do this everytime or just once.