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.
Specifies that the user account is disabled because the number of login failures exceeded the maximum allowed.
Specifies that the user account is not disabled because the number of login failures exceeded the maximum allowed.
Note: The user account can be disabled for other reasons. For more information, see Remarks.
Return Value
The DisableMaxLoginFail method returns the new or existing value for the disabled-by-max-login-failure flag:
Specifies that the user account is disabled because the number of login failures exceeded the maximum allowed.
Specifies that the user account is not disabled because the number of login failures exceeded the maximum allowed.
Note: The user account can be disabled for other reasons. For more information, see Remarks.
Specifies that the call is unsuccessful.
Remarks
User accounts can be disabled for one or more of the following reasons:
For more information, see the method PolicyMgtUser‑>DisableByAdmin.
For more information, see the method PolicyMgtUser‑>DisableInactive.
For more information, see the method PolicyMgtUser‑>DisablePwdExpired.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |