Table of Contents
This documentation relates to version 4.0 branch of adLDAP. Version 4 is not backwards compatible with code written for prior versions. For documentation on versions prior to version 4.0, please visit this page
This API is intended to be an accurate representation of the current version of the class. A great deal of knowledge is involved in the LDAP schema, so we actively encourage people to add to this documentation if you are able to improve it….
Version 4.0 of adLDAP is a complete re-write of the library and is not backwards compatible with older versions. Please take time to read the documentation to see how to use this class.
By Meda Joker 2013
Read the documentation on connecting and disconnecting from your domain controller for more information on different ways of calling adLDAP.
require_once(dirname(__FILE__) . '/adLDAP.php'); $adldap = new adLDAP\adLDAP();
It would be better to wrap it in a try/catch though
You can alternatively override the configuration when the class is called by specifying an array with the options.