function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
meimeileemeimeilee 

API available to check the status of my Salesforce account password

I’m looking to know if there is a SF API available to check the status of my Salesforce account password?

(IE: whether there is a Salesforce api/web services which I can programmatically call to check when my password expires)

Best Answer chosen by Admin (Salesforce Developers) 
Jia HuJia Hu
I guess it is No.

For security reasons, you can’t query User passwords via the API or the user interface. However, the API allows you to set and “reset” User passwords using the setPassword() and resetPassword() calls. The password lockout status and the ability to reset the User locked-out status is not available via the API. You must check and reset the User password lockout status using the user interface.

check the doc here:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_user.htm