How to Get and set user extension properties, when user reset the password from login page.
Ex: get and set emailAddress property of the user
Please share some snippets or idea to solve above.
Password has a specific service associated with it, best guess Users[UserName].UpdatePassword (maybe ChangePassword)
All other properties can be set by just using Users[UserName].UserExtensionName
Take a look at events on SecurityMonitor thing, such as LoginSucceeded and ApplicationKeySucceeded.
Theoretically, your subscription to ApplicationKeySucceeded should fire when the user follows the "reset password" link from the email (those resets are authenticated by temporary appkeys). From this subscription you should be able to get the reference to the user (via AppKey object) and reset the properties as required.
I haven't tried it, but I don't see why it wouldn't work.
If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.