NWIsManager

Checks whether a calling station is a manager.

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  NWIsManager  ( 
     NWCONN_HANDLE   conn);
  

Delphi Syntax

  uses calwin32 
   
  Function NWIsManager 
    (conn : NWCONN_HANDLE 
  ) : NWCCODE;
  

Parameters

conn
(IN) Specifies the NetWare server connection handle.

Return Values

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

0x0000

Calling station is a manager.

0x89FF

Calling station is not a manager.

Remarks

To call NWIsManager, you must have console operator rights.

A station is a manager if it is a supervisor, or if it appears in the MANAGERS property of the supervisor object.

NCP Calls