Returns
The function returns a pointer to the
the entry after the new parent DN has been set.
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 contains the DN of
Slapi_DN
structure that keeps the DN of the
Slapi_DN
Chapter 14
Functions for Managing DNs
Function Reference
427
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