Sun Java System Directory Server Enterprise Edition 6.3 Developer's Guide

slapi_sdn_get_ndn()

Gets the normalized DN of a Slapi_DN structure.

Syntax

#include "slapi-plugin.h"
 const char * slapi_sdn_get_ndn(const Slapi_DN *sdn);

Parameters

This function takes the following parameter:

sdn

The Slapi_DN structure containing the DN value.

Returns

This function returns the normalized DN value.

Description

This function retrieves the normalized DN (in a canonical format and lower case) from a Slapi_DN structure and normalizes sdn if it has not already been normalized.

See Also

slapi_sdn_get_dn()