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

slapi_entry_get_sdn()

Returns the Slapi_DN object from the entry that you specify.

Syntax

#include "slapi-plugin.h"
 Slapi_DN *slapi_entry_get_sdn( Slapi_Entry *e );

Parameters

This function takes the following parameter:

e

Entry from which you want to get the Slapi_DN object.

Returns

This function returns the Slapi_DN object from the entry that you specify.

Memory Concerns

Never free this value. If you need a copy, use slapi_sdn_dup() .

See Also

slapi_sdn_dup()