SAS 9.1.3 Integration Technologies » Developer's Guide


LDAP CALL Routine Interface
LDAPS_ADD
LDAPS_ATTRNAME
LDAPS_ATTRVALUE
LDAPS_CLOSE
LDAPS_DELETE
LDAPS_ENTRY
LDAPS_FREE
LDAPS_MODIFY
LDAPS_OPEN
LDAPS_SETOPTIONS
LDAPS_SEARCH
Coding Examples
Adding a Directory Entry to an LDAP Server
Searching an LDAP Directory
Directory Services

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=Alphalite Airways,c=US";
rc=0;
call ldaps_delete(lHandle, entryName, rc);