Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual page 411

Table of Contents

Advertisement

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_rdn()
slapi_sdn_get_parent()
slapi_sdn_get_ndn()
, unless
sdn_parent
is empty.
sdn_parent
structure for
sdn_parent
structure.
Slapi_DN
The Slapi_DN structure containing the DN value.
is empty or is a suffix of the backend
sdn
must be allocated before calling this
structure. The returned value
Slapi_DN
Chapter 14
Functions for Managing DNs
Function Reference
411

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents