Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_LDAP , 17 of 30


delete_s Function

This function removes a leaf entry in the LDAP Directory Information Tree.

Syntax

DBMS_LDAP.delete_s (

ld  IN SESSION,
entrydn  IN VARCHAR2)
RETURN PLS_INTEGER;
Table 20-49 delete_s Function Parameters
Parameter Name  Description 

ld (IN) 

A valid LDAP session 

entrydn (IN) 

The X.500 distinguished name of the entry to delete. 

Return Values
Table 20-50 delete_s Function Return Values
Value  Description 

PLS_INTEGER  

DBMS_LDAP.SUCCESS if the delete operation wa successful. An exception is raised otherwise. 

Exceptions
Table 20-51 delete_s Function Exceptions
Exception  Description 

invalid_session 

Raised if the session handle ld is invalid. 

invalid_entry_dn 

Raised if the distinguished name of the entry is invalid 

general_error 

For all other errors. The error string associated with this exception explains the error in detail. 

Usage Notes

The function delete_s can be used to remove only leaf level entries in the LDAP DIT. A leaf level entry is an entry that does not have any children/LDAP entries under it. It cannot be used to delete non-leaf entries.

See Also:

"modrdn2_s Function"


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback