NWDSCanDSAuthenticate

Determines if eDirectory credentials exist for the specified tree name.

NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98, Windows 2000, Windows XP
Library:Cross-Platform NDS (NET*.*)
Service:NDS

Syntax

C

  #include <nwnet.h> 
  or 
  #include <nwdsconn.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE) NWDSCanDSAuthenticate  ( 
     NWDSContextHandle   context);
  

Pascal

  uses netwin32 
   
  Function NWDSCanDSAuthenticate 
    (context : NWDSContextHandle 
  ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

Return Values

These are common return values.

0

No credentials found

1

Credentials exist

Remarks

NWDSCanDSAuthenticate is similar to NWIsDSAuthenticated, but is enabled for multiple tree environments. NWDSCanDSAuthenticate indicates if eDirectory credentials exist for the tree name described in the context. If credentials exist for the tree, authentication can be performed to servers within the tree.

NCP Calls

See Also

NWDSAuthenticateConn, NWIsDSAuthenticated