Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Specify lockout for failed login attempts

Specify lockout for failed login attempts

The system provides inactive script actions that enable you to specify the number of failed login attempts before a user account is locked and to reset the count after a successful login.

Before you begin

Role required: admin

Procedure

Navigate to System Policy > Script Actions to view or activate the scripts.
  • SNC User Lockout Check with Auto Unlock:
    • Uses the glide.user.max_unlock_attempts property value to set the limit for failed login attempts.
    • Unlocks the user account after the time period that is specified for the glide.user.unlock_timeout_in_mins property. If no value is specified, then the system unlocks the user account after the default period of 15 minutes.
  • SNC User Lockout Check: Keeps track of the number of failed login attempts and locks the user account after a specified number of failed login attempts (default: 5).
  • SNC User Clear: Updates the user record upon a successful login: Resets the number of failed login attempts and updates the date of the last login.