[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NNETPWLEN()
Sets or determines the minimum password length
------------------------------------------------------------------------------
Syntax
NNETPWLEN(<cUser>,[<nNumber>],[<cServer>|<nConId>)
--> nPassLen
Netware: 2.2 and 3.11
Arguments
<cUser> Designates the name of the user whose minimum password
length is set or determined.
<nNumber> Designates the new minimum password length for <cUser>.
<cServer> Designates the name of the file server to which <cUser>
has access. Your workstation must be attached to <cServer>.
<nConId> Designates the connection ID of your workstation on
<cServer>.
Returns
NNETPWLEN() returns the currently valid minimum password length for
<cUser>. If a value has been passed for <nNumber> and the return value
does not match <nNumber>, the requesting user did not have the rights
for the modification.
Description
NOVELL NET PASSWORD LENGTH
NNETPWLEN() allows you to set or determine the minimum password length
for <cUser>. To query the minimum password length, do not pass a value
for <nNumber>. If <nNumber> contains a numeric value, NNETPWLEN() tries
to set this value as new minimum password length. Supervisor rights on
the related file server are required to modify the password length.
With <nNumber> equal to 0, a previously set password length can be
removed. In this case, a password for <cUser> is not required.
With the parameters <cServer> or <nConId>, the password length for users
on any attached file server can be changed. The connection ID of a file
server is returned by NNETATTACH() or NNETLOGIN().
Examples
. Determine the minimum password length for user MIKE:
? NNETPWLEN('MIKE') // For example 5
. Set the new minimum password length for user MIKE:
NNETPWLEN('MIKE',8)
. Remove the limit of the password length for user MIKE:
NNETPWLEN("MIKE",0)
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson