Show Table of Contents
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
DNof the entry that you specify. TheDNis returned as aconst; you are not able to modify theDNvalue. - The
NDNvalue of Slapi_DN if theDNof the Slapi_DN object isNULL.
Memory Concerns
Never free this value.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.