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>nnetccnsrv()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETCCNSRV()
 Determines the number of attached file servers
------------------------------------------------------------------------------
 Syntax

     NNETCCNSRV([<lLoggedIn>]) --> nServer

     Netware: 2.2 and 3.11

 Argument

     <lLoggedIn>  Designates whether the number of all attached servers
     (.F.) or if the number of servers with logged in users (.T.) is
     determined.  The default value (.F.) counts all servers.

 Returns

     NNETCCNSRV() returns the number of attached servers.

 Description

     NOVELL NET COUNT CONNECTED SERVERS
     With the function NNETCCNSRV() you can determine the number of attached
     servers without having to specify the server names (NNETFSLST()).
     Alternatively, you can determine the number of servers, where the user
     is currently logged in.

 Example

     Server1 is attached.  A user then logs into another server.  The
     information about the attached servers is determined by using
     NNETCCNSRV():

     NNETATTACH('SERVER1')
     NNETLOGIN('PAUL','190366','SERVER2')

     ? NNETCCNSRV()      // Returns: 2
     ? NNETCCNSRV(.T.)   // Returns: 1

See Also: NNETATTACH() NNETCCNSRV() NNETLOGIN()

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