[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETATTACH()
 Attaches a file server to a workstation
------------------------------------------------------------------------------
 Syntax

     NNETATTACH(<cServer>) --> nConId

     Netware: 2.2 and 3.11

 Argument

     <cServer>  Designates the name of the server that is attached.

 Returns

     If the server has been attached successfully, NNETATTACH() returns a
     numeric value between 1 and 8.  This value specifies the connection ID.
     The workstation uses the connection ID to address the server.

     If an error occurs, NNETATTACH() returns 0.  The error code can be
     queried with the function NNETERROR().

 Description

     NOVELL NET ATTACH
     A workstation can be attached to up to eight file servers.  This logical
     connection between workstation and file server is necessary to access
     network services and resources.  NNETATTACH() allows you to establish a
     connection without a login of the user on <cServer>.

     If the server has been attached successfully, NNETATTACH() returns a
     value between 1 and 8.  The return value can be stored in a variable and
     can be used later to identify a file server.  Alternatively, a file
     server can also be identified by using the server name.

     Using the NNETLOGIN() function to log in a user on a file server does
     not require the call of NNETATTACH().  NNETLOGIN() attaches the file
     server automatically if necessary.

 Note

     .  The names of the attached file servers can be determined by
        using the function NNETFSLIST() or the Novell utility SLIST.

 Example

     Attach the file server NANGERTOOLS2:

     nConId=NNETATTACH("NANGERTOOLS2")

See Also: NNETLOGIN()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson