39.12. slapi_sdn_get_dn()

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.

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.