Unofficial Content

Configures the time in minutes that a user has to change his password after logging in.

Description

"Timeout For User To Change Password After Login (minutes)" (&GAMRepository.TimeoutForUserChangePasswordAfterLogin) is a GAM Repository property that allows to configure the time in minutes that a user has to change his password after logging in.

This property it can't be 0, by default, this property is set to 15 minutes.

When a User is forced to change his password, either because it was set "Must change password" (&GAMUser.MustChangePassword = True), or because the time stipulated in the property "Period change password (days)" (&GAMSecurityPolicy.PeriodChangePassword) of the security policies applied to that user or the repository to which the user belongs has expired, once logged in the user will be redirected to the object “gamexamplechangepassword” once there he/she has the time stipulated in the property "Timeout for user to change password after login (minutes)" property to change the password, once the time has expired if the user did not change the password his session will expire and he will have to start the process again.

Example

The way to use it in GeneXus code (by using the GAM API) is the following:

&GAMRepository.TimeoutForUserChangePasswordAfterLogin = 15 //Minutes

Availability

Since GeneXus 18 Upgrade 10

See Also

Timeout To Complete Required User Data After Login (minutes) Repository property

GAM - Repository

GAM Repository features and properties

 

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