ChangePassword Method

Syntax

Context.Security.ChangePassword as L (UserName as C, OldPassword as C, NewPassword as C)

Arguments

UserNameCharacter

The name of the user as is used during login.

OldPasswordCharacter

The user's current password.

NewPasswordCharacter

The user's new password.

Returns

resultLogical

Returns .T. if the user's password was changed; otherwise .F.

Description

Changes the password for the user.

Discussion

Context.Security.ChangePassword() changes the password for the user. Check Context.Security.CallResult.Success before using the return value.