NWDSEGetLocalEntryID
Retrieves the local ID for the specified eDirectory object.
#include <nwdsdsa.h>
#include <nwdsevnt.h>
N_EXTERN_LIBRARY (NWDSCCODE) NWDSEGetLocalEntryID (
NWDSContextHandle context,
const pnstr objectName,
pnuint32 id);
|
0x0000 |
Successful |
|
Negative Value |
Negative values indicate errors. For
error values, see |
The name specified by objectName is relative to the context specified by context.
An object’s local ID is valid only for the server on which NWDSEGetLocalClassID is called. For this reason, this ID is called a local ID.
Comparisons of IDs is faster than comparisons of text strings. Therefore, to avoid unnecessary processing time, your application should filter on IDs when possible.