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

Next Topic: GetClass Method—Retrieves User Class

ForcePwdChange Method—Sets or Retrieves Force-Password-Change Flag

The ForcePwdChange method sets or retrieves the force-password-change flag that specifies whether to force a password change at the next user login.

Syntax

The ForcePwdChange method has the following format:

Netegrity::PolicyMgtUser‑>ForcePwdChange([forceFlag])

Parameters

The ForcePwdChange method accepts the following parameter:

forceFlag (int)

(Optional) Specifies whether to force a password change at the next user login.

Return Value

The ForcePwdChange method returns the new or existing value for the force-password-change flag.


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