Previous Topic: IsEnabled Method—Enables or Disables a Password Policy

Next Topic: MaxLoginInactive Method—Sets or Retrieves the Number of Days of Inactivity Are Allowed

MaxLoginFailures Method—Sets or Retrieves the Maximum Number of Failed Login Attempts

The MaxLoginFailures method sets or retrieves the maximum number of failed login attempts a user can make before the user account is disabled.

Syntax

The MaxLoginFailures method has the following format:

Netegrity::PolicyMgtPwdPolicy‑>MaxLoginFailures([maxLogin])

Parameters

The MaxLoginFailures method accepts the following parameter:

maxLogin (int)

(Optional) Specifies the number of failed login attempts.

Return Value

The MaxLoginFailures method returns one of the following values:


Copyright © 2010 CA. All rights reserved. Email CA about this topic