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.)
#include "slapi-plugin.h" int slapi_entry_rdn_values_present( Slapi_Entry *e );
This function takes the following parameter:
Entry from which you want to get the attribute.
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.