You need to sign in to do that
Don't have an account?
![venkatSanthanam venkatSanthanam](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Site.ChangePassword
Hello,
I have a potal user logged into Sites and have Site.ChangePassword in apex code to change the password of the logged in portal user.
When I use Site.ChangePassword(newpwd, verifnewpwd, oldpwd); method, it shows visual force error message.
When I user Site.ChangePassword(newpwd, verifynewpwd) method, there are no erros but pwd does not get changed.
This is puzzling. The method with 3 arguments work well in the default salesforce forgot password flow.
Any Thoughts?
Thanks
Venkat