Displaying LDAP data for user

Hi Folks,

Is there a way in PHP, where you can echo out all the ldap details for the logged in user:- givenname, surname, uid, userid, groupMembership, mail, dn, roles, memberof, cn, samaccountName etc

Thanks

Just use below library and check that your installed PHP support ldap extennsion enabled.

http://adldap.sourceforge.net/