Returns a connection handle and an object ID for the object name, but is now obsolete.
#include <nwnet.h> or #include <nwdsaud.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSAuditGetObjectID ( NWDSContextHandle context, pnstr8 objectName, NWCONN_HANDLE N_FAR *conn, pnuint32 objectID);
uses netwin32 Function NWDSAuditGetObjectID (context : NWDSContextHandle; objectName : pnstr8; Var conn : NWCONN_HANDLE; objectID : pnuint32 ) : NWDSCCODE;
(IN) Specifies the directory context for the request.
(IN) Points to the name of the object to get the ID for.
(OUT) Points to the connection handle where the object resides.
(OUT) Points to the eDirectory object ID.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
The returned connection handle is the NetWare server where the object is stored.
Use NWDSResolveName in place of this function.