Are password policies in my salesforce organisation accessible by Apex classes ? I would like to use them for custom VF pages.
2 Answers
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.
-
Thnaks for queck reply So is there no way to get the password policies by using apex code?– kumarCommented Mar 24, 2014 at 12:39
-
AFAIK no. The answer here was no too developer.salesforce.com/forums/….– Keith CCommented Mar 24, 2014 at 12:57