setUserPasswordSettings (AdministrationProcess - Java)

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

AdministrationProcess

Syntax

public String setUserPasswordSettings(String username, Integer notespasswordchecksetting, Integer notespasswordchangeinterval, Integer notespasswordgraceperiod, Boolean internetpasswordforcechange)
   throws NotesException

Parameters

String username

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

Integer notespasswordchecksetting
  • AdministrationProcess.PWD_CHK_CHECKPASSWORD requires the user to enter a password when authenticating with servers that have password checking enabled
  • AdministrationProcess.PWD_CHK_DONTCHECKPASSWORD does not require the user to enter a password when authenticating with other servers (default)
  • AdministrationProcess.PWD_CHK_LOCKOUT prevents the user from accessing servers that have password checking enabled
Integer notespasswordchangeinterval

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

Integer notespasswordgraceperiod

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

Boolean internetpasswordforcechange
  • true to force the user to change the password on next login
  • false to not force the user to change the password (default)

Return value

String

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

Usage

Specify null to take the default for the optional parameters 2-5.

At least one optional parameter must be specified.

Example