Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hello All,
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.
Thanks,
Nagaraj
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
Hello @NERaj,
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.
/ Constantine
Hi @NERaj.
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.
Regards.
--Sharon