Official Content

Indicates how many passwords must be stored in the list of the user's last passwords, to avoid repeating any of those passwords when they define a new one.

Syntax

&GAMSecurityPolicy.MaximumPasswordHistoryEntries = Number

Where:

&GAMSecurityPolicy
 
  Is a variable based on the GAMSecurityPolicy data type.

Number
    Number of passwords to store in the list of the user's last passwords.

Description

This property allows indicating how many passwords must be stored in the list of the user's last passwords, to avoid repeating any of those passwords when they define a new one.

Note: When using the GAM Web Backoffice, this property is shown with the description "Maximum password history entries".

Samples

The GAMExampleEntrySecurityPolicy Web Panel object is an example of where this property is used.

To set this property in the GeneXus code (by using the GAM API), the syntax is as follows:

&GAMSecurityPolicy.MaximumPasswordHistoryEntries = 5 // The user cannot define a password equal to their last 5 passwords.

    

Last update: June 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant