In a KB integrated with GAM in Genexus17 U6, when trying to create a user with an email that already exists, the following GAM validation appears:
Ya existe un usuario registrado con ese correo electrónico, seleccione otro. (GAM78)
Is there any way to configure that two users can be registered with the same email or remove this validation?
Users are registering with the following code:
&User.Name = &Name
&User.EMail = &EMail
&User.FirstName = &FirstName
&User.LastName = &LastName
&User.Password = &Password
&User.MustChangePassword = true
&User.Save()
If &User.Success()
Commit
...
Else
&Errors = &User.GetErrors()
Do 'DisplayMessages'
Endif
EndIf
I understand that this validation is internal to GAM and is executed in the &User.Save()