#include <nwserver.h> or #include <nwcalls.h>NWCCODE N_API NWDisableFileServerLogin (NWCONN_HANDLE conn);
NWDisableFileServerLogin is usually made during some crucial time---before taking the server down, for instance.
It is recommended 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.
File Server Environment