Removes an entry from an LDAP directory.
WebAPI.bdh
WebLdapDelete( 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 | Name of the directory entry |
dcltrans transaction TMain var hLdap: number; begin WebLdapConnect(hLdap, "standardhost", WEB_PORT_LDAP); WebLdapBind(hLdap, "cn=adminname", "password"); WebLdapDelete(hLdap, "cn=newCN,o=Name"); WebLdapDisconnect(hLdap); end TMain;
LDAP.sep