[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NNETACCDIS()
Sets or queries an access account lock
------------------------------------------------------------------------------
Syntax
NNETACCDIS(<cUser>,[<lLock>],[<cServer>|<nConId>),
--> lLocked
Netware: 2.2 and 3.11
Arguments
<cUser> Designates the name of the user for whom an access account
lock is set or checked.
<lLock> Allows locking (.T.) or releasing (.F.) of the access
account of <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
NNETACCDIS() returns .T. when the access account of <cUser> is currently
disabled. <cUser> is not able to log in. If the parameter <lLock> has
been passed and the return value does not match <lLock>, the user of the
NNETACCDIS() function did not have the rights requested for the
modification (see the description).
Description
NOVELL NET ACCOUNT DISABLED
With NNETACCDIS(), the access account lock for <cUser> can be set or
queried. To determine the status of the account, do not pass a value
for the parameter <lLock>. To set the status of the account, pass .T.
or .F. for <lLock>. However, to lock or release an access account lock,
supervisor rights on the related file server are necessary. With
<cServer> or <nConId>, the status of any user on any attached server can
be queried. NNETATTACH() and NNETLOGIN() return the server connection
ID.
Examples
. Determine the access account status for user MIKE:
? NNETACCDIS('MIKE') // for example .T.
. Disable the account for user MIKE:
NNETACCDIS('MIKE',.T.)
. Release the account lock for user MIKE:
NNETACCDIS('MIKE',.F.)
See Also:
NNETAEXPD()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson