Retrieving or Specifying if Site Users are Allowed to Change Password

icon_info.gif

Available in EFT Server 6.2 and later.

The ICISite::AllowChangePassword property allows you to retrieve or specify whether Site users are allowed to change their passwords. The value can be overridden at the Settings Template or user account level.

HRESULT AllowChangePassword([out, retval] VARIANT_BOOL *pVal);

HRESULT AllowChangePassword([in] VARIANT_BOOL val);

Examples (VBScript):

Retrieving:

If Site.AllowChangePassword Then

Site.ForcePasswordResetOnInitialLogin = True

End If

Specifying:

If Site.AllowChangePassword = False