AboutSrini Nagarajan Expertise I can answer any kind of questions in ASP.NET, C#, VB.NET, SharePoint 2007, ASP, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase
Experience Contact me if you need any custom development on ASP.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder.
For Each oGroup In oUser.Groups
Select Case(oGroup.Name)
Case "InpdapNAXX"
'Response.write("InpdapNAXX")
Response.Redirect("./default.html")
Case "Group B"
'response.write("Yay")
Response.Redirect("A.asp")
Case "Group C"
'response.Redirect("Z.asp")
Case "Group D"
'Response.redirect("Y.asp")
End Select
Next
%>
</body>
</html>
</form>
Answer Hi
If you use Request.ServerVariables("LOGON_USER") there could be 2 thing you need to look for
1. The LOGON_USER variable is not populated if you use the Allow Anonymous security to access the ASP page.
2. In order for the LOGON_USER variable to be populated, the user must be authenticated using either Basic or NT Challenge/Response security.