SetTargetNameSpace

Sets the target name space that is to be returned by server functions

Local Servers:nonblocking
Remote Servers:N/A
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM
Service:Name Space

Syntax

   #include <nwnspace.h>  
    
   BYTE SetTargetNameSpace  (  
      BYTE   newNameSpace); 
   

Parameters

newNameSpace

(IN) Specifies the new name space that is to become the target name space (see Section 20.5, Name Space Flag Values).

Return Values

Returns the old target name space.

Remarks

SetTargetNameSpace sets the target name space to be used by the current thread group. This name space is used by this thread group for paths output from all subsequent NetWare API functions.

SetCurrentNameSpace sets the name space for input to subsequent calls to functions from the NetWare API.

See Also

FEGetOriginatingNameSpace, SetCurrentNameSpace