Do you mind posting the code that you use for querying active directory.
I am currently using getobject and opendsobject to verify the username and password; however I need to query for groups the user belongs to and other various information within ASP.
Since you are using vb.net, this is similar to asp in which I should be able to convert.
User Profile
Collapse
-
ASP & Active Directory continuation......
This is actually a great script that will help authenticate your username and password within your domain.
One thing I would correct is directly above the line that indicates:
Set oADsObject = oADsNamespace.O penDSObject(str ADsPath, strUserName,
strPassword, 0)
place an on error resume next
This will allow you to enter the error trapping code right below that line.
...
No activity results to display
Show More
Leave a comment: