ldap_modify_batch

(PHP 5.4 >= 5.4.26, PHP 5.5 >= 5.5.10, PHP 5.6 >= 5.6.0, PHP 7) Batch and execute modifications on an LDAP entry bool ldap_modify_batch ( resource $link_identifier, string $dn, array $entry ) Modifies an existing entry in the LDAP directory. Allows detailed specification of the modifications to perform. Parameters: link_identifier An LDAP link identifier, returne

ldap_mod_replace

(PHP 4, PHP 5, PHP 7) Replace attribute values with new ones bool ldap_mod_replace ( resource $link_identifier, string $dn, array $entry ) Replaces one or more attributes from the specified dn. It performs the modification at the attribute level as opposed to the object level. Object-level modifications are done by the ldap_modify() function. Parameters: link_identifier A

ldap_mod_del

(PHP 4, PHP 5, PHP 7) Delete attribute values from current attributes bool ldap_mod_del ( resource $link_identifier, string $dn, array $entry ) Removes one or more attributes from the specified dn. It performs the modification at the attribute level as opposed to the object level. Object-level deletions are done by the ldap_delete() function. Parameters: link_identifier A

ldap_mod_add

(PHP 4, PHP 5, PHP 7) Add attribute values to current attributes bool ldap_mod_add ( resource $link_identifier, string $dn, array $entry ) Adds one or more attributes to the specified dn. It performs the modification at the attribute level as opposed to the object level. Object-level additions are done by the ldap_add() function. Parameters: link_identifier An LDAP link i

ldap_list

(PHP 4, PHP 5, PHP 7) Single-level search resource ldap_list ( resource $link_identifier, string $base_dn, string $filter [, array $attributes [, int $attrsonly [, int $sizelimit [, int $timelimit [, int $deref ]]]]] ) Performs the search for a specified filter on the directory with the scope LDAP_SCOPE_ONELEVEL. LDAP_SCOPE_ONELEVEL means that the search should only return information that is at the level immediately below

ldap_get_values

(PHP 4, PHP 5, PHP 7) Get all values from a result entry array ldap_get_values ( resource $link_identifier, resource $result_entry_identifier, string $attribute ) Reads all the values of the attribute in the entry in the result. This call needs a result_entry_identifier, so needs to be preceded by one of the ldap search calls and one of the calls to get an individual entry. You application will either be hard coded to lo

ldap_get_values_len

(PHP 4, PHP 5, PHP 7) Get all binary values from a result entry array ldap_get_values_len ( resource $link_identifier, resource $result_entry_identifier, string $attribute ) Reads all the values of the attribute in the entry in the result. This function is used exactly like ldap_get_values() except that it handles binary data and not string data. Parameters: link_identifier

ldap_get_option

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Get the current value for given option bool ldap_get_option ( resource $link_identifier, int $option, mixed &$retval ) Sets retval to the value of the specified option. Parameters: link_identifier An LDAP link identifier, returned by ldap_connect(). option The parameter option can be one of: Option

ldap_get_entries

(PHP 4, PHP 5, PHP 7) Get all result entries array ldap_get_entries ( resource $link_identifier, resource $result_identifier ) Reads multiple entries from the given result, and then reading the attributes and multiple values. Parameters: link_identifier An LDAP link identifier, returned by ldap_connect(). result_identifier An LDAP link

ldap_get_dn

(PHP 4, PHP 5, PHP 7) Get the DN of a result entry string ldap_get_dn ( resource $link_identifier, resource $result_entry_identifier ) Finds out the DN of an entry in the result. Parameters: link_identifier An LDAP link identifier, returned by ldap_connect(). result_entry_identifier An LDAP link identifier, returned by ldap_connect().