|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Active Directory Credentials
Hello all. I need to read the Active Directory parameters or properties like user name (all information) of the logged in user when this user hits a page on my web server. How do I do that? Please help. Thank you.
|
|
#2
|
||||
|
||||
|
this reads everything ... for the user:
Code:
For each item in Request.Servervariables tempvalue=Request.Servervariables(item) Response.write item & "=" & tempvalue Response.write "<br />" Next will print out the name and the value for each
__________________
Come JOIN the party!!! Quote of the Month: Retirement: Because you've given so much of yourself to the company that you don't have anything left we can use. Questions to Ponder: What do you do when you see an endangered animal eating an endangered plant? iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm") copyright© 2008 sbenj69 |
|
#3
|
|||
|
|||
|
Quote:
Does this get the information from the Active Directory??? |
|
#4
|
||||
|
||||
|
yep
|
|
#5
|
|||
|
|||
|
Quote:
Cool. Thank you. I'll try it and let you know if I run into any errors. |
|
#6
|
|||
|
|||
|
Quote:
Ok I tried it and it returns me all the Server Variables. But I dont see the user information anywhere. Can you tell me what information I am supposed to be looking at for the USER INFO. Thank you. |
|
#7
|
|||
|
|||
|
Quote:
Ok I got that working. I had to uncheck anonymous access in IIS to get that to work. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Active Directory Credentials |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|