Slapi_Sdn_Get_Dn() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions for Managing DNs
Returns
This function gets the parent DN of an entry within a given backend. The parent
DN is returned is
itself. In this case,
Memory Concerns
A
Slapi_DN
function.
See Also
slapi_sdn_get_parent()

slapi_sdn_get_dn()

Gets the DN from a
Syntax
#include "slapi-plugin.h"
const char * slapi_sdn_get_dn(const Slapi_DN *sdn);
Parameters
This function takes the following parameter:
sdn
Returns
This function returns the DN value.
Description
This function retrieves the DN value of a
can be the normalized DN (in a canonical format and in lower case) if no other
value is present.
See Also
slapi_sdn_get_ndn()
slapi_sdn_get_parent()
slapi_sdn_get_rdn()
468
Netscape Directory Server Plug-in Programmer's Guide • October 2004
, unless
sdn_parent
sdn_parent
structure for
sdn_parent
Slapi_DN
The Slapi_DN structure containing the DN value.
is empty or is a suffix of the backend
sdn
is empty.
must be allocated before calling this
structure.
Slapi_DN
structure. The returned value

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 7.0 - PLUG-IN and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents