- filter: Filter for only handling entries that match.
- attributes: Array with attributes to fetch.
- container: Container (subtree) in the DIT to search for the IDs. If empty the whole database will be searched.
- Associative array with the LDAP search result or false in case of an error.