I am working on forgot password functionality. I use default sitecore user provider. How I can update user password programmatically?
Is it possible to change password by manipulation with object of Sitecore.Security.Accounts.User class?
I am working on forgot password functionality. I use default sitecore user provider. How I can update user password programmatically? Is it possible to change password by manipulation with object of Sitecore.Security.Accounts.User class? |
|||||
|
As you can't get the old password, you should use the reset functionality:
To change the password, you need to work with the Membership user. But as Dražen mentioned, you can get use the |
|||||||||||||||||
|
There is a way in case you need to build User Management tools for an internal support team. Let's say an admin needs to reset a password for a Content Author you can take advantage of Sitecore PowerShell Extensions. Set-UserPassword
|
|||
|