|
-
Apr 2nd, 2001, 12:32 PM
#1
Thread Starter
Hyperactive Member
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!!
-
Apr 2nd, 2001, 12:39 PM
#2
Addicted Member
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
-
Apr 2nd, 2001, 12:59 PM
#3
Thread Starter
Hyperactive Member
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!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|