Previous Topic: DisableByAdmin Method—Sets or Retrieves Disabled-by-Administrator Flag

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

DisableInactive Method—Sets or Retrieves Disabled-by-Inactivity Flag

The DisableInactive method sets or retrieves the disabled-by-inactivity flag which specifies whether the user account is disabled because account inactivity exceeded the time allowed.

Syntax

The DisableInactive method has the following format:

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

Parameters

The DisableInactive method accepts the following parameter:

disableFlag (int)

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

Specifies that the user account is disabled because of inactivity.

Specifies that the user account is not disabled because of inactivity.

Note: The user account can be disabled for other reasons. For more information, see Remarks.

Return Value

The DisableInactive method returns the new or existing value for the disabled-by-inactivity 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