You need to sign in to do that
Don't have an account?
Sfdc prof
Site.validatePassword(User u, Password, Confirm Password) using the org wide Password Policies
Hello Community,
Currently We are implementing Salesforce Community with Custom Registration page and using the Site.ValidatePassword standard method to validate the password.
Now since we are sending new User to be created as a parameter to this Method.
We were under impression that the Profile level Password Policies will be enforced but unfortunately its taking Org Wide Password Policies which we dont want.
Please note the User is yet to be created but we assigned the Profile ID to the new User instance that is getting passed as parameter to above method.
Can you please confirm if the we are missing something here ?
Thank you,
Ganesh
Currently We are implementing Salesforce Community with Custom Registration page and using the Site.ValidatePassword standard method to validate the password.
Now since we are sending new User to be created as a parameter to this Method.
We were under impression that the Profile level Password Policies will be enforced but unfortunately its taking Org Wide Password Policies which we dont want.
Please note the User is yet to be created but we assigned the Profile ID to the new User instance that is getting passed as parameter to above method.
Can you please confirm if the we are missing something here ?
Thank you,
Ganesh
If I am not wrong!, there is your password policies are same in your system administration and particular profile, Firstly you should Change the password policies from the particular profile.
You have to go to profile and select the particular profile where you want to change, and changes according you want.
1: Select The particular profile and scroll down,
2: Edit the Password Policies:
Link: https://help.salesforce.com/articleView?id=users_profiles_password_policies.htm&type=0
Hope it Helps you. Please mark this as solved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Regards ,
Suraj