-
I found this code snippet
Code:
<%@ Language=VBScript %>
<%
For Each Key in Request.ServerVariables
With Response
.Write Key & " - " & Request.ServerVariables(key)
.Write "<br><br>" '& vbCrLf
End With
Next
%>
that returns all of the Response key values. But I don't know which one to use to determine if the user has admin rights. Help!!
-
You would have to determine in your code whether they have admin right. There is no server variables that contain that information. How you do that is upto you. you could set up a admin table and reference it with there username but thats just a quick thought
-
Okay, thanks. I could work around that by setting up groups so that I don't have to have a separate table. But that leads to another question - can I determine which groups a user belongs to?
Thanks guys for all of your help!!