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

Returns

Returns the LDIF string representation of the entry you specify. If an error occurs, the function returns NULL.