LDAP Tools/LDAP Library/populateUser
From Authentication Tools for Joomla! (JAuthTools)
Function Name: populateUser
Parameters:
- mosUser user object with username set to pull from LDAP
- string map INI string mapping LDAP group to Joomla Group ID and Type
- string dn DN String to use to search
- bool ad Is this an AD search
Returns: Nothing
populateUser function utilises the parameters of the LDAP Library user bot to connect to the LDAP server and retrieve the details of the user.