Are password policies in my salesforce organisation accessible by Apex classes ? I would like to use them for custom VF pages.
Attribution to: kumar
Possible Suggestion/Solution #1
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.
Attribution to: Keith C
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/30766