Previous Topic: DictionaryPath Method—Sets or Retrieves the Location of a Dictionary File

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

DisableAfterInactivityExpiration Method—Disables an Inactive User's Account

The DisableAfterInactivityExpiration method sets or retrieves the flag for disabling a user's account if it has been inactive for a specified period.

Syntax

The DisableAfterInactivityExpiration method has the following format:

Netegrity::PolicyMgtPwdPolicy‑>DisableAfterInactivityExpiration([inactivityFlag])

Parameters

The DisableAfterInactivityExpiration method accepts the following parameters:

inactivityFlag (int)

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

1 disables the user's account after a specified period of inactivity

0 keeps the account enabled and forces a password change

Return Value

The DisableAfterInactivityExpiration method returns one of the following values:

Remarks

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


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