Previous Topic: DisableAfterInactivityExpiration Method—Disables an Inactive User's Account

Next Topic: EntireDir Method—Determines Whether the Password Policy Applies to the Entire Directory

DisableAfterPwdExpiration Method—Disables a User's Aaccount after the User's Password Expires

The DisableAfterPwdExpiration method sets or retrieves the flag for disabling a user's account after the user's password expires.

Syntax

The DisableAfterPwdExpiration method has the following format:

Netegrity::PolicyMgtPwdPolicy‑>DisableAfterPwdExpiration([expireFlag])

Parameters

The DisableAfterPwdExpiration method accepts the following parameter:

expireFlag (type)

(Optional) Specifies whether to disable the user's account:

1 disable the user's account after the user's password expires

0 keeps the account enabled and forces a password change

Return Value

The DisableAfterPwdExpiration method returns one of the following values:

Remarks

If the flag is set not to disable the user's account after the password expires, the user is required to change the password at next login.


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