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

slapi_sdn_get_dn()

Gets the DN from a Slapi_DN structure.

Syntax

#include "slapi-plugin.h"
 const char * slapi_sdn_get_dn(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 DN value.

Description

This function retrieves the DN value of a Slapi_DN structure. The returned value can be the normalized DN (in a canonical format and in lower case) if no other value is present.

See Also

slapi_sdn_get_ndn()

slapi_sdn_get_parent()

slapi_sdn_get_rdn()