2

Are password policies in my salesforce organisation accessible by Apex classes ? I would like to use them for custom VF pages.

2 Answers 2

2

If you mean things like:

  • User passwords expire in
  • Enforce password history
  • Minimum password length
  • ...

presented in the "Password Policies" page of Setup then I think the answer is you cannot. The information is not exposed to SOQL and I know of no API that returns this information.

2
0

Yes, you can use fflib Metadata API wrapper to change Password Policies via apex.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .