Establishes an authenticated connection to a secured NetWare server using the unauthenticated connection and local data cached by calling NWDSLogin, but is now obsolete.
#include <nwnet.h> or #include <nwdsasa.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSAuthenticate ( NWCONN_HANDLE conn, nflag32 optionsFlag, pNWDS_Session_Key_T sessionKey);
uses netwin32 Function NWDSAuthenticate (conn : NWCONN_HANDLE; optionsFlag : nflag32; sessionKey : pNWDS_Session_Key_T ) : NWDSCCODE;
(IN) Specifies the client’s initial unauthenticated connection handle.
(IN) Specifies reserved; pass in a zero (0).
(IN) Points to reserved; pass in NULL.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
NWDSAuthenticate first checks to see if the specified connection is authenticated. If the connection is authenticated, NWDSAuthenticate will return SUCCESSFUL and end the call.
Use NWDSAuthenticateConn or NWDSAuthenticateConnEx in place of this function.