Description of JustLDAP
JustLDAP is an ActiveX component (justldap.dll) used for searching the Microsoft Active Directory for "user" object attributes. It has been specifically designed to provide a simplified interface to search for and retrieve this information.
The JustLDAP component can be used in ASP and ASP.NET Web applications to pre-populate forms and provide personalized web content. It can also be used in client applications and scripts. When used with IIS5 (Windows 2000), or IIS6 (Windows 2003 Server Family), the IIS "LOGON_USER" Web server variable can be passed to JustLDAP and numerous details retrieved for the browser user.
LDAP programming without JustLDAP can be quite difficult. Developers often find LDAP search code (written in either ASP, ASP.NET or VBScript/JScript) hard to deploy in real world applications. Code samples are usually confusing. Many samples assume the code is running with "Administrator" privileges, yet this major point is often not even mentioned in the accompanying text! When the code is run on an IIS ASP Web Page, the code often fails because of authentication and security issues.
If all you need to do is lookup user details in Active Directory, then JustLDAP is the component for you!
With JustLDAP you can forget about making complex ADSI calls like , "LDAP://CN=Administrator, DC=mycompany, CN=Users, ...." etc. JustLDAP will search your Active Directory user objects with a simple method call.
JustLDAP has two method calls that provide all the flexibility you will need in typical applications. The first one "Lookup", takes 3 parameters as variants. The first is the user attribute that you will be providing in the second parameter, the second parameter is the specific (or "wild carded") item you are searching for. The last parameter is a simple string list of the attributes you require to be returned from the search.
A standard ADO RecordSet is returned for each of the JustLDAP calls.