passwordHistoryLength property
The length of the password history.
After setting this field, the user won't be able to enter a new password that is the same as any password in the history. A value of 0 means there is no restriction.
Implementation
core.int? passwordHistoryLength;