Modifies a specified LDAP directory entry. To create a new LDAP directory entry, call the WebLdapAdd function. Both the WebLdapAttributeAdd and the WebLdapValueAdd function are required to specify the directory entry modifications.
WebAPI.bdh
WebLdapModify( in hLdap : number, in sEntry : string ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
hLdap | Handle to a Web connection that was created by WebLdapConnect |
sEntry | Specifies the name of the directory entry |
dcltrans transaction TMain var hLdap: number; begin WebLdapConnect(hLdap, "standardhost", WEB_PORT_LDAP); WebLdapBind(hLdap, "cn=adminname", "password"); WebLdapAttributeAdd(hLdap, WEB_LDAP_MOD_REPLACE, "attribute"); WebLdapValueAdd(hLdap, "value"); WebLdapModify(hLdap, "cn=TestCN,o=Name"); WebLdapDisconnect(hLdap); end TMain;
LDAP.sep