HI! When I run the code below, I see "You are" and not the logon name. Does anyone know why?
You are <%=Request.ServerVariables("LOGON_USER")%>
I have read posts on this subject for the last hour and can't figure out what I'm doing wrong. In IIS, Enable Anonymous Access is checked and the logon name is IUSR_OURMACHINENAME. Integrated Windows authentication is checked. We are running Windows 2003 server, ASP Classic and SQL Server 2005. I am trying to get the AD group of the user so I can display a menu on the intranet (not external site) based on their group without the users having to ask users to log in via a login form. Any ideas? I have seen so many posts from people doing the same thing but they were able to see the results of the Server Variables. When I looked at WIndows Firewall as one of the posts I reviewed suggested, I got a message saying the WIndows Firewall Service wasn't even started.