Returns
This function returns the DN of the entry. Note that this returns a pointer to the
actual DN in the entry, not a copy of the DN. You should not free the DN unless
you plan to replace it by calling
Memory Concerns
Use
slapi_ch_free()
See Also
slapi_ch_free()
slapi_entry_set_dn()
slapi_entry_get_dn_const()
Returns as a
Syntax
#include "slapi-plugin.h"
const char *slapi_entry_get_dn_const(
const Slapi_Entry *e );
Parameters
This function takes the following parameter:
e
Returns
This function returns one of the following values:
•
The
able to modify the
•
The
Memory Concerns
Never free this value.
if you are replacing the DN with
the
value of the entry that you specify.
const
DN
Entry from which you want to get the DN as a constant.
of the entry that you specify. The
DN
value.
DN
value of
NDN
Slapi_DN
slapi_entry_set_dn()
is returned as a
DN
if the
of the
DN
Slapi_DN
Functions for Managing Entries
.
slapi_entry_set_dn()
; you are not
const
object is
.
NULL
Chapter 14
Function Reference
.
289
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?
Questions and answers