#include <ldap.h> int ldap_delete_s( LDAP *ld, char *dn)
|
The ldap_delete_s() routine initiates a synchronous LDAP operation to delete a leaf entry.
Note that the entry to delete must be a leaf entry (i.e., it must have no children). Deletion of entire subtrees in a single operation is not supported by LDAP.
No OS/400 authority is required. All authority checking is done by the LDAP server.
ldap_delete_s() will return LDAP error code if not successful. See LDAP Client API Error Conditions for possible LDAP error code values.
The following message may be set from this function.
CPF3CF2 E Error(s) occurred during running of ldap_delete_s API.
ldap_delete() -- Asynchronous delete an entry.
ldap_delete_ext() -- Asynchronous delete an entry with controls.
ldap_delete_ext_s() -- Synchronous delete an entry with controls.
|
Top
| LDAP APIs List APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |