Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
AI OnAI Off
Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
This is how we do it:
string temporaryPassword = membershipUser.ResetPassword(); membershipUser.ChangePassword(temporaryPassword, Password.Text);
In 4.* version this works.
int SidID = X;
UserSid userSid = UserSid.Load(SidID);
string strPwd = "abcdefg123"
userSid.SetPassword(strPwd);
userSid.Save();
Hi guys!
Current version of EPiServer: CMS 5.1
I wanna chage user password, it's easy:
MemberShip.User = Membership.GetUser();
user.ChangePassword(current, newPassword);
But how can I change password without supplying current password?
I know that I can retrivew current password using:
user.GetPassword()
but I do not want to change membership configuration (this affects security).
How does EPiServer change password in Admin area (there are just two fields new password and confirm password)?!
Ps.
I not want to reset password.