[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson