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

For plug-in
Table of Contents

Advertisement

Functions for Managing DNs
Returns
This function returns one of the following values:
A non-zero value if
0
See Also
slapi_dn_issuffix()

slapi_dn_isroot()

Determines whether 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( const char *dn );
Parameters
This function takes the following parameters:
pb
dn
Returns
This function returns one of the following values:
1
0
See Also
slapi_dn_isbesuffix()
312
Netscape Directory Server Plug-in Programmer's Guide • October 2004
parentdn
if the
is not the parent of
parentdn
Parameter block.
DN that you want to check.
if the specified DN is the root DN of the local database.
if the specified DN is not the root DN of the local database.
is the parent of
childdn
.
childdn
slapi_dn_normalize_case()
.
to

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents