NWGetFileServerLoginStatus

Returns a NetWare server’s login status.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Server Environment

Syntax

  #include <nwserver.h> 
  or 
  #include <nwcalls.h> 
   
  NWCCODE N_API  NWGetFileServerLoginStatus  ( 
     NWCONN_HANDLE   conn,  
     pnuint8         loginEnabledFlag); 
  

Delphi Syntax

  uses calwin32 
   
  Function NWGetFileServerLoginStatus 
    (conn : NWCONN_HANDLE; 
     loginEnabledFlag : pnuint8 
  ) : NWCCODE; 
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.
loginEnabledFlag
(OUT) Points to a zero flag if clients cannot log in and non-zero if they can.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x8996

SERVER_OUT_OF_MEMORY

Remarks

NWGetFileServerLoginStatus determines if the users’ logins are currently allowed on the target server.

NCP Calls