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

Next Topic: ForcePwdChange Method—Sets or Retrieves Force-Password-Change Flag

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

The DisablePwdExpired method sets or retrieves the disabled-by-password-expired flag that specifies whether the user account is disabled because the password expired.

Syntax

The DisablePwdExpired method has the following format:

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

Parameters

The DisablePwdExpired method accepts the following parameter:

disableFlag (int)

(Optional) Specifies a new value for the disabled-by-password-expired flag.

Return Value

The DisablePwdExpired method returns the new or existing value for the disabled-by-password-expired 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