NWDisableFileServerLogin
Allows an operator to instruct the NetWare server to refuse new login requests.
#include <nwserver.h>
or
#include <nwcalls.h>
NWCCODE N_API NWDisableFileServerLogin (
NWCONN_HANDLE conn);
uses calwin32 Function NWDisableFileServerLogin (conn : NWCONN_HANDLE ) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
NWDisableFileServerLogin is usually made during some crucial time-before taking the server down, for instance.
It is recommended that caution be used with NWDisableFileServerLogin. If, after calling NWDisableFileServerLogin, the service connection to the NetWare server is lost or destroyed, a new connection cannot be created; therefore, the user cannot log in again. If no other user on the server has SUPERVISOR privileges, the server must be brought down from the console connected to the server and rebooted before any new users (including the SUPERVISOR) can access it.
To call NWDisableFileServerLogin, you must have console operator rights.