If a user can't remember their code and the owner who assigned the code also does not remember it, then as the owner, you need to reset the code for that user.
Because the user has already been created, all you need to do is select a new user code: How to manage the assignment of user code for members
The code is not displayed and is not visible to anyone after it has been created. Remember to give the code to the user