Previous Topic: DisableInactive Method—Sets or Retrieves Disabled-by-Inactivity Flag

Next Topic: DisablePwdExpired Method—Sets or Retrieves Disabled-by-Password-Expired Flag

DisableMaxLoginFail Method—Sets or Retrieves Disabled-by-Max-Login-Failure Flag

The DisableMaxLoginFail method sets or retrieves the disabled-by-max-login-failure flag which specifies whether the user account is disabled because the number of login failures exceeded the maximum allowed.

Syntax

The DisableMaxLoginFail method has the following format:

Netegrity::PolicyMgtUser‑>DisableMaxLoginFail([disableFlag])

Parameters

The DisableMaxLoginFail method accepts the following parameter:

disableFlag (int)

(Optional) Specifies a new value for the disabled-by-max-login-failure flag.

Return Value

The DisableMaxLoginFail method returns the new or existing value for the disabled-by-max-login-failure flag:

Remarks

User accounts can be disabled for one or more of the following reasons:


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