Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_LDAP , 6 of 30
This function tests whether a particular attribute in a particular entry has a particular value.
DBMS_LDAP.compare_s (ld IN SESSION, dn IN VARCHAR2, attr IN VARCHAR2, value IN VARCHAR2)RETURN PLS_INTEGER;
Value | Description |
---|---|
|
|
Exception | Description |
---|---|
|
Raised if the session handle ld is invalid. |
|
For all other errors. The error string associated with this exception explains the error in detail. |
The function compare_s
can be used to assert if the value of a given attribute stored in the directory server matches a certain value.This operation can only be performed on attributes whose syntax definition allows them to be compared. The compare_s
function can only be called after a valid LDAP session handle has been obtained from the init
function and authenticated using the bind_s
or simple_bind_s
functions.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|