Contents LDAP Interface Previous Next

LDAPS_DELETE

Deletes an entry from an LDAP directory.

Syntax

CALL LDAPS_DELETE(lHandle, entryName, rc);
lHandle
Numeric, input.
Specifies the connection handle returned by the LDAPS_OPEN CALL routine.

entryName
Character, input.
Names the entry to be deleted from the LDAP directory.

rc
Numeric, output.
Receives a return code that indicates success or failure.

Example

The following example deletes an entry from an LDAP directory.

dn = "cn=alpair02.unx.com,o=Alpine Airways,c=US";
rc=0;
call ldaps_delete(lHandle, entryName, rc);

Contents LDAP Interface Previous Next