Cert++
Close

Password reset and account unlock

Key Takeaway

One password reset fixes both a forgotten password and a lockout. Salesforce also resets the user's security token, except for API only users.

Users lose access to Salesforce when they forget their password or when they enter wrong login credentials too many times and get locked out. Admins can restore access by unlocking the account from the user record or by resetting the password. Users can also reset their own password with the forgot password link on the login page.

What locks a user out

A user is locked out after entering incorrect login credentials too many times. In Password Policies, the "Maximum invalid login attempts" setting sets how many failures are allowed before lockout. The "Lockout effective period" setting sets how long the lockout lasts, and the default lockout period is 15 minutes.

Some events besides a wrong password also count toward lockout. One is each time a user is prompted to verify identity. Another is each time a user logging in through the API or a client enters the security token or verification code incorrectly at the end of their password.

The Failed Login Attempts field on the user record shows how many failed logins the account has. Viewing this field requires the "Manage Users" permission.

The failed login counter resets in two cases, and the account ends up in a different state in each one.

If the user reaches the maximum number of invalid login attempts...

The counter resets and the account locks.

If the user logs in successfully before reaching that maximum...

The counter resets and the account stays unlocked.

A lockout does not end a session that is already open. If a user is logged in to an active session and is later locked out, the user stays logged in to that session.

Platform Administrator Study Guide

Checklist progress

0/324Learned

Given a scenario, demonstrate the proper setup and maintenance of users (user name is unique, locales, working hours, how to distribute licenses, types of licenses, not deleting a user, implications of making inactive, override, assigning feature licenses, management of users with various login methods)

0/13

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Platform Administrator studiers. 757 members and growing.