Hi all,
In version 3.11 is it possible to reset the password of a user? For example, if a user has forgotten his password. In version 3.15 there is a "reset" button, but this is not present in 3.11. This means that if a user forgets his password it seems to be necessary to create a new user account.
If this functionality is not present, we might consider using the code from the "Reset" button in 3.15 to implement a reset functionality. Are there any difficulties which might prevent this?
Kind regards,
Angus
How to Reset User Password in 3.11?
Search
How to Reset User Password in 3.11?
Last edited by AngusETM on Sun Aug 04, 2019 7:50 am, edited 1 time in total.
Re: How to Reset User Password in 3.11?
The function changePassword_reset() which is used in 3.15 to reset the password is not defined in 3.11.
Therefore you cannot use the same function in 3.11.
You can possibly implement your own functionality which writes the new crypted password to the datapoint element _Users.Password. Please take into account that the dp element is a dyn_string.
The function in 3.15 checks if the user currently logged on has "administration" permission before the password is changed.
Best Regards
Leopold Knipp
Senior Support Specialist
Therefore you cannot use the same function in 3.11.
You can possibly implement your own functionality which writes the new crypted password to the datapoint element _Users.Password. Please take into account that the dp element is a dyn_string.
The function in 3.15 checks if the user currently logged on has "administration" permission before the password is changed.
Best Regards
Leopold Knipp
Senior Support Specialist
Re: How to Reset User Password in 3.11?
Thanks Leopold. We've written our own function based on that method.