NWIsDSAuthenticated

Returns whether eDirectory has credentials for a background authentication in the current eDirectory tree. This function is obsolete. Call NWDSCanDSAuthenticate, which indicates if there is an authenticated identity for the tree, or NWDSScanConnsForTrees, which returns a list of trees that have authenticated identities, instead.

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 <nwndscon.h> 
   
  N_EXTERN_LIBRARY (NWCCODE)  NWIsDSAuthenticated  ( 
     void);
  

Pascal

  uses netwin32 
   
  Function NWIsDSAuthenticated   
      : NWCCODE;
  

Return Values

These are common return values; see NDS Return Values for more information.

0x0000 0001

Authenticated through eDirectory

0x0000 0000

Not authenticated through eDirectory

Remarks

On NetWare, NWIsDSAuthenticated finds the current thread identity and checks to see if it is authenticated. On Windows, it returns true if there is any NDS authenticated identity.

NCP Calls

See Also

NWCCGetConnRefInfo, NWCCScanConnRefs