Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 475

Table of Contents

Advertisement

Description
This function sets a new parent for an entry. This is done by keeping the RDN of
the original DN of the entry and by adding the DN of its new parent (the value of
parentdn
See Also
slapi_sdn_isparent()
slapi_sdn_get_parent()
slapi_sdn_set_rdn()
Sets a new RDN for given entry.
Syntax
#include "slapi-plugin.h"
Slapi_DN *slapi_sdn_set_rdn(Slapi_DN *sdn, const Slapi_RDN *rdn);
Parameters
This function takes the following parameters:
sdn
rdn
Returns
This function returns a pointer to the
entry after the new RDN has been set.
Description
This function sets a new RDN for an entry. This is done by retrieving the DN of the
entry's parent of the origin DN of the entry and then adding it to the RDN (the
value of
See Also
slapi_sdn_get_rdn()
) to it.
The Slapi_DN structure containing the DN of the entry.
The new RDN.
) to it.
rdn
structure that keeps the DN of the
Slapi_DN
Chapter 15
Functions for Managing DNs
Function Reference
475

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents