Function NnetAccDis() Foundation

Retrieves or changes the Disabled status of a user account.

Syntax
NnetAccDis( <cUserName>               , ;
            [<lDisableAccount>]       , ;  // Default: NIL
            [<cFileServer|nConnectID>]  ;  // Default: NnetSname()
          ) --> lAccountIsDisabled
Return

Returns .T. if the account of user <cUserName> is currently disabled otherwise .F.

Description

To change the Disabled status of a user account <lDisableAccount> must be passed as a logical value. In this case a successful operation is indicated when the return value equals <lDisableAccount>.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.