24.42. slapi_entry_rdn_values_present()

Determines whether 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( const Slapi_Entry *e );

Parameters

This function takes the following parameter:

e
Entry from which you want to get the attribute.
Returns

The function returns one of the following values:

  • 1 if the values in the RDN are present in attributes of the entry.
  • 0 if the values are not present.