Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 302

Table of Contents

Advertisement

Functions for Managing DNs
Returns
This function returns one of the following values:
A non-zero value if
0 if the
See Also
slapi_dn_issuffix()
slapi_dn_isroot()
Determines whether or not the specified DN is the root DN for this local database.
Before calling this function, you should call
normalize the DN and convert all characters to lowercase.
Syntax
#include "slapi-plugin.h"
int slapi_dn_isroot( Slapi_PBlock *pb, char *dn );
Parameters
This function takes the following parameters:
pb
dn
Returns
This function returns one of the following values:
1 if the specified DN is the root DN of the local database.
0 if the specified DN is not the root DN of the local database.
See Also
slapi_dn_isbesuffix()
302
Netscape Directory Server Plug-In Programmer's Guide • August 2002
parentdn
is not the parent of
parentdn
Parameter block
DN that you want to check.
is the parent of
childdn
.
childdn
slapi_dn_normalize_case()
.
to

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents