24.33. slapi_entry_get_dn_const()

Returns as a const the DN value of the entry that you specify.
Syntax

#include "slapi-plugin.h"
const char *slapi_entry_get_dn_const( const Slapi_Entry *e );

Parameters

This function takes the following parameter:

e
Entry from which you want to get the DN as a constant.
Returns

This function returns one of the following values:

  • The DN of the entry that you specify. The DN is returned as a const; you are not able to modify the DN value.
  • The NDN value of Slapi_DN if the DN of the Slapi_DN object is NULL.
Memory Concerns

Never free this value.