Official Content

Configures the time, in minutes, allowed for a user to change the password after logging in.

Syntax

&GAMRepository.TimeoutForUserChangePasswordAfterLogin = Number_Minutes

Where:

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

Number_Minutes
  Number of minutes available to change the user password after logging in.

Description

By default, this property is set to 15 minutes. Its value can't be 0.

When a user is required to change their password, either because the Must change password property (&GAMUser.MustChangePassword = True) is set, or because the period specified in the Period change password (days) property (&GAMSecurityPolicy.PeriodChangePassword) of the applied Security Policies has expired, the user will be redirected to the GAMExampleChangePassword Web Panel object upon logging in.

The user must change the password in that UI (GAMExampleChangePassword Web Panel) within the time set in the GAMRepository TimeoutForUserChangePasswordAfterLogin property. Otherwise, the session will expire, and the user will have to start the process again.

Note: When using the GAM Backoffice, this property can be configured by selecting Repository > Configuration > General Security Policy. It is shown with the description "Timeout For User To Change Password After Login (minutes)".

Samples

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

&GAMRepository.TimeoutForUserChangePasswordAfterLogin = 10

Availability

This property is available since GeneXus 18 Upgrade 10.

See Also

TimeoutToCompleteRequiredUserDataAfterLogin property in GAMRepository EO
GAM - Repository
GAM Repository features and properties

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant