[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NNETMAXCON()
Sets or determines the maximum number of connections
------------------------------------------------------------------------------
Syntax
NNETMAXCON(<cUser>,[<nNumber>],[<cServer>|<nConId>)
--> nMaxConn
Netware: 2.2 and 3.11
Arguments
<cUser> Designates the name of the user for whom the maximum number
of connections is set or determined.
<nNumber> Designates the new maximum number of connections for
<cUser>.
<cServer> Designates the name of the file server where <cUser> is
established. Your workstation must be attached to <cServer>.
<nConId> Designates the connection ID of your workstation on
<cServer>.
Returns
NNETMAXCON() returns the maximum number of connections for <cUser>. If
the function was called with a value for <nNumber> and the return value
does not match <nNumber>, the requesting user did not have the rights to
modify the number of connections.
Description
NOVELL NET MAXIMUM CONNECTIONS
NNETMAXCON() allows you to query or set the maximum number of
connections for <cUser> (the number of workstations where a user can be
logged in). To determine the maximum number of connections, do not pass
a value for <nNumber>. If <nNumber> contains a numeric value,
NNETMAXCON() tries to set the maximum number of connections to
<nNumber>. Supervisor rights are required on the related file server to
modify the number of connections. With <nNumber> equal to 0, an
existing limit for the number of connections can be removed.
With <cServer> or <nConId>, the number of connections for users on any
attached file servers can be modified. The connection ID of a server is
returned by NNETATTACH() or NNETLOGIN().
Examples
. Determine the maximum number of connections for user MIKE:
? NNETMAXCON('MIKE') // For example 2
. Set the new number of connections for user MIKE:
NNETMAXCON('MIKE',5)
. Remove the limit for user MIKE:
NNETMAXCON("MIKE",0)
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson