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
DayaDaya 

PASSWORD_LOCKOUT logic?

I'm getting the exception.PASSWORD_LOCKOUT. This makes sense, as tried with wrong password for multiple times.
 
Docs says PASSWORD_LOCKOUT   ==> The user has exceeded the allowed number of login attempts. The user must contact his or her administrator to regain login access.
 
I want to know
  1. What is the lockout period
  2. What is the max login failures can I attempt? i.e. How many unsuccessfull login attempts can i do, before the account is locked out.
  3. How can i clear the lockout.
 
I'm developing automation(background) process,
which logs into salesfroce and my application. Retrieve date from sf objects (i.e. leads, contacts, owners, campaignmember etc...) and transfer into my application.
This is a recursive process, and runs every  hourly/daily/weekly/monthly manner based on user input in my application.
 
 
Thanks in advance.
Daya
SuperfellSuperfell
All the settings for password lockout are configurable by the admin in the security settings section of setup. These settings aren't discoverable via the API.
DayaDaya

Thanks Simon.

This helps me to proceed.

--Daya