Equinox Online Help - Language Reference - A to Z

Home

ChangePassword

Applies to
SyntaxChangePassword
Action[Statement] Allows you to change your password.
ScopeUsable anywhere.
Notes

This statement has the same effect as selecting Change Password from the System menu on Equinox's start-up screen. A dialog appears, asking you to type in your current password. If it is entered correctly, then a second dialog requests the new password.

If the current password is not entered correctly, an error number is stored in the system workarea SysError.

CategoryUser, groups and ESS
See Also ChangeRecordGroup, CurrentRecordGroup, FieldPermissions, FirstUserGroup, FirstUserName, UserCreate, NextUserGroup, NextUserName, RecordPermissions, SetUserGroup, ShowRecordGroup, UserAccountExpiry, UserDelete, UserDetails, UserGroup, UserName, UserPasswordExpiry, UserPermission, UserResetLockout, UserResetPassword, UserChangeGroup
Example

This method prompts the user to change their password every four weeks. Passchange is a workarea, which holds the date of the last change.

if Today - passchange > 28 then
ChangePassword
If SysError = 0 Then passchange = Today
end if