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:
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.
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‑>DisableMaxLoginFail.
For more information, see the method PolicyMgtUser‑>DisablePwdExpired.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |