Function NnetPwGrce() Foundation

Retrieves or changes the number of grace logins.

Syntax
NnetPwGrce( <cUserName>               , ;
            [<nLimit>]                , ;
            [<lMaxGraceLogins>]       , ;  // Default: .F.
            [<cFileServer|nConnectID>]  ;  // Default: NnetSname()
          ) --> nGraceLogins
Return

Returns the number of remaining grace logins (<lMaxGraceLogins> == .F.) or the total number of grace logins (<lMaxGraceLogins> == .T.).

Description

Supervisory rights are required to change the number of grace logins for a user. This determines how many times a user can try to log in to the file server after his/her password is expired. <nLimit> must be passed as a numeric value to change grace logins. A successful operation is indicated when the return value equals <nLimit>.

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.