LOTUSSCRIPT/COM/OLE CLASSES


MinPasswordLength property
Example

Read-write. The strength assigned to a password in an ID file.

Note

The assignment of strength instead of length in the property is new with Release 5.

Defined in

NotesRegistration

Data type

Integer

Syntax

To get: strength% = notesRegistration.MinPasswordLength

To set: notesRegistrationID.MinPasswordLength = strength%

Usage

Set this property before calling RegisterNewCertifier, RegisterNewServer, or RegisterNewUser.

This property defines the password strength required for subsequent changes to the password by the user. A password assigned in the methods listed above is not initially checked against the strength.

Domino measures a password's strength and security according to the level assigned on its password quality scale. The scale ranges from Weak to Strong or from 0 (lowest - no password required) to 16 (highest). For more information about the password quality scale, see "Understanding the password quality scale" in Administering the Domino System.

Password quality scaleDescriptionExample
0Password is optional.n/a
1Allow any password."b", "3"
2-6Allow a weak password, even though you might be able to guess it by trial and error."password", "doughnut" (password quality scale 3)

"lightferret", "b 4D" (password quality scale 6)

7-12Require a password that is difficult to guess, but might be vulnerable to an automated attack. "pqlrtmxr", "wefourkings" (password quality scale 8)
13-16Require a strong password, even though the user may have difficulty remembering it."4891spyONu" (password quality scale 13)

"lakestreampondriverocean", "stRem2pO()" (password quality scale 15)

"stream8pond1river7lake2ocean" (password quality scale 16)


Language cross-reference

MinPasswordLength property in Java Registration class

@PasswordQuality function in formula language

Example
See Also