ldap_mod_add

(PHP 4, PHP 5, PHP 7)

ldap_mod_addAdd attribute values to current attributes

说锟斤拷

ldap_mod_add ( resource $link_identifier , string $dn , array $entry [, array $serverctrls = array() ] ) : bool

Adds one or more attribute values to the specified dn. To add a whole new object see ldap_add() function.

锟斤拷锟斤拷

link_identifier

An LDAP link identifier, returned by ldap_connect().

dn

The distinguished name of an LDAP entity.

entry

An associative array listing the attirbute values to add. If an attribute was not existing yet it will be added. If an attribute is existing you can only add values to it if it supports multiple values.

serverctrls

Array of LDAP Controls to send with the request.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟斤拷锟斤拷锟斤拷志

锟芥本 说锟斤拷
7.3 Support for serverctrls added

注锟斤拷

Note: 锟剿猴拷锟斤拷锟缴帮拷全锟斤拷锟节讹拷锟斤拷锟狡讹拷锟斤拷

锟轿硷拷