Authenticates and licenses an established connection to a NetWare server.
#include <nwnet.h> or #include <nwdsasa.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSAuthenticateConn ( NWDSContextHandle context, NWCONN_HANDLE connHandle);
uses netwin32 Function NWDSAuthenticateConn (context : NWDSContextHandle; connHandle : NWCONN_HANDLE ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Specifies the connection handle to authenticate.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
NWDSAuthenticateConn authenticates and licenses the connection using the identity established by calling NWDSLogin. An authenticated, licensed connection has access to eDirectory and the file system.
The context handle is used to indicate which tree (and hence which identity) to use in authenticating the connection handle. If the underlying requester does not support multiple tree authentications, the tree value of the context handle is ignored.
If the specified connection is already authenticated, the function returns SUCCESSFUL and ends the call.