2

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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.