NWDSLoginAsServer

Allows an NLM application to log in to eDirectory as if it were the NCP Server object.

Local Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM
Service:NDS

Syntax

  #include <nwdsapi.h> 
   
  N_GLOBAL_LIBRARY(NWCCODE)  NWDSLoginAsServer ( 
     NWDSContextHandle    context);
  

Parameters

context

(IN) Specifies the NDS context for the request.

Return Values

0x0000

SUCCESSFUL

nonzero value

Nonzero values indicate errors. See NDS Return Values (-001 to -799).

Remarks

This function is available for the NLM platform only. It logs in the NLM application to eDirectory as the NCP Server object that the NLM is currently running on.

This function cannot be used on remote servers.

NCP Calls