SetUserPasswordSettings (NotesAdministrationProcess - LotusScript®)

Enters a request in the Administration Requests database to change the password management settings on the Administration tab of the user's person document.

Defined in

NotesAdministrationProcess

Syntax

noteID$ = notesAdministrationProcess .SetUserPasswordSettings( username$ [ , notespasswordchecksetting% ] [ , notespasswordchangeinterval% ] [ , notespasswordgraceperiod% ] [ , internetpasswordforcechange ] )

Parameters

username$

String. The full hierarchical name (can be abbreviated) of the user.

notespasswordchecksetting%

Constant of type Integer. Optional. Check password setting.

  • PWD_CHK_CHECKPASSWORD (1)

    Requires the user to enter a password when authenticating with servers that have password checking enabled.

  • PWD_CHK_DONTCHECKPASSWORD (0)

    Does not require the user to enter a password when authenticating with other servers.

  • PWD_CHK_LOCKOUT (2)

    Prevents the user from accessing servers that have password checking enabled.

Defaults to Don't check password.

notespasswordchangeinterval%

Integer. Optional. Required change interval - number of days at which the user must supply a new password. Defaults to zero.

notespasswordgraceperiod%

Integer. Optional. Grace period (in days) for changing the password. Defaults to zero.

internetpasswordforcechange

Boolean. Optional.

  • True indicates to force the user to change the password on next login.
  • False indicates not to force the user to change the password.

Defaults to False.

Return value

noteID$

String. The note ID of an entry created in the Administration Requests database.

Usage

At least one optional parameter must be specified.

Example