Sun Java System Directory Server Enterprise Edition 6.3 Developer's Guide

slapi_entry_rdn_values_present()

Determines if the values in an entry’s relative distinguished name (RDN) are also present as attribute values. (For example, if the entry’s RDN is cn=Barbara Jensen, the function determines if the entry has the cn attribute with the value Barbara Jensen.)

Syntax

#include "slapi-plugin.h"
int slapi_entry_rdn_values_present( Slapi_Entry *e );

Parameters

This function takes the following parameter:

e

Entry from which you want to get the attribute.

Returns

This function returns 1 if the values in the RDN are present in attributes of the entry or 0 if the values are not present.