|
This online help file is for EFT Server version 6.2.x. For other versions of EFT Server, please refer to http://help.globalscape.com/help/index.html. (If the Index and Contents are hidden, click Show Contents pane in the top left corner of this topic.) |
|
Available in EFT Server 6.2 and later. |
The ICISite::ForcePasswordResetOnInitialLogin property allows you to retrieve or specify whether the option to force users to change their password upon next login is turned on. The value can be overridden in the Settings Template or user account by the ICIClientSettings::SetChangePwd method. Please note if the option is ON, it does not mean the user will be necessary forced to change password on next login, because the user’s password might have been changed since you switched the option from OFF to ON in the administration interface.
HRESULT ForcePasswordResetOnInitialLogin([out, retval] VARIANT_BOOL *pV);
HRESULT ForcePasswordResetOnInitialLogin ([in] VARIANT_BOOL val);
Example (VBScript):
Retrieving:
If Not Site.ForcePasswordResetOnInitialLogin Then
MsgBox "Reset password is turned off for this site"
End If
Specifying:
Site.ForcePasswordResetOnInitialLogin = False
Site.ForcePasswordResetOnInitialLogin = True 'switching from OFF to ON
'will force all users to
'change password on next login
'(if not overridden at lower levels)