Home > PHP > Function > LDAP > ldap_modify()

ldap_modify()

ldap_modify - Modify an LDAP entry

Syntax

bool ldap_modify (resource $link_identifier, string $dn, array $entry)

Arguments

  • link_identifier - An LDAP link identifier, returned by ldap_connect().
  • dn - The distinguished name of an LDAP entity.
  • entry

Description

Modify the existing entries in the LDAP directory. The structure of the entry is same as in ldap_add().

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.