01-15-2010 01:17 PM
G'Day Elaine - great to hear from you! Yep, that's exactly what I needed - thanks so much!
PS: sorry for my late replyve had a bunch of stuff to do in another area in the application.
07-28-2023 08:14 AM
Setting directly this property will not scramble the password which is quite a bad idea.
This stored value is supposed to be scrambled, which means that if you try to login with this not scrambled password, the login will fail.
This proper way is to set the User.Password which will scramble the password automatically.
03-20-2025 01:10 PM
I know this thread is old, but I want to add my 2 cents. Working on a custom runtime User Manager where I want the user to edit the passwords and I used the trick here to set the password directly using the API function SetValString().
I having a bunch of issues confirming password entered by using in a custom dialog matched the saved one. Found out when you do the function ValidatePassword() it actually expecting the password to be scrambled.
Locals.PasswordValid = RunState.Engine.GetUser(Locals.Username).ValidatePassword(Locals.Password),
Locals.PasswordValid = Locals.Password == Locals.StoredPassword
I plan on using unscrambled passwords going forward as it is seems impossible to edit the scrambled ones and decode them.
~Teds