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

For plug-in
Table of Contents

Advertisement

Syntax
#include "slapi-plugin.h"
int slapi_dn_isbesuffix( Slapi_PBlock *pb, 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_isroot()

slapi_dn_isparent()

Determines whether a particular DN is the parent of another specified DN. Before
calling this function, you should call
the DNs and convert all characters to lowercase.
Syntax
#include "slapi-plugin.h"
int slapi_dn_isparent( const char *parentdn, const char *childdn );
Parameters
This function takes the following parameters:
parentdn
childdn
Parameter block.
DN that you want to check.
if the specified DN is the suffix for the local database.
if the specified DN is not the suffix for the local database.
Determine if this DN is the parent of childdn.
Determine if this DN is the child of parentdn.
slapi_dn_normalize_case()
Chapter 15
Functions for Managing DNs
to normalize
Function Reference
311

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents