NWGetBinderyAccessLevel

Returns the access level of the current logged-in entity based on the specified connection handle

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

Syntax

C

   #include <nwbindry.h> 
   or 
   #include <nwcalls.h> 
    
   NWCCODE N_API  NWGetBinderyAccessLevel  ( 
      NWCONN_HANDLE   conn,  
      pnuint8         accessLevel,  
      pnuint32        objID);
   

Pascal

   uses calwin32 
    
   Function NWGetBinderyAccessLevel 
     (conn : NWCONN_HANDLE; 
      accessLevel : pnuint8; 
      objID : pnuint32 
   ) : NWCCODE; stdcall;
   

Parameters

conn
(IN) Specifies the NetWare server connection handle.
accessLevel
(OUT) Points to the current security access mask for the given connection (optional).
objID
(OUT) Points to the object ID of the current logged in entity (optional).

Return Values

These are common return values. See Return Values (Return Values for C).

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x890A

NLM_INVALID_CONNECTION

0x8996

SERVER_OUT_OF_MEMORY

Remarks

The access level of a process determines which bindery objects and properties the process can find and manipulate.

See Section 4.3, Security Rights Mask Values.

NCP Calls