Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetpslin()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETPSLIN()
 Logs in a print server to a file server
------------------------------------------------------------------------------
 Syntax

     NNETPSLIN(<cPServer>,<cPassword>,<cServer1>,[<cServer2>|
        <nConId>]) --> lSuccess

     Netware: 2.2 and 3.11

 Arguments

     <cPServer>  Designates the name of the print server that is logged
     in on <cServer1>.

     <cPassword>  Designates the password defined for <cPServer> on
     <cServer1>.

     <cServer1>  Designates the file server on which <cPServer> is logged
     in.

     <cServer2>  Designates the name of the file server used to access
     <cPServer>.  The print server checks login information on <cServer2>.
     Therefore, the access rights can depend on the specified file server.
     Your workstation must be attached to <cServer2>.

     <nConId>  Designates the connection ID of your workstation on
     <cServer2>.

 Returns

     NNETPSLIN() returns .T. if the function has been executed successfully.

 Description

     NOVELL NET PRINT SERVER LOGIN
     To service a queue on a file server, a print server must be logged in on
     the file server.  NNETPSLIN() allows you to log in a print server on a
     file server (<cServer1>) after it has been started.  For a print server
     login, a password can be queried and then passed for <cPassword>.  An
     empty string ("") for <cPassword> must be passed if no password has been
     specified for <cPServer> on <cServer1>.

 Example

     Log in the print server PSERVER on file server TOOLS1 (with password
     SECRET):

     IF NNETPSLIN('PSERVER','SECRET','TOOLS1')
        ? 'Log in successful!'
     ELSE
        ? 'Error!'
     ENDIF

See Also: NNETPSLOUT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson