Develop > Programming > System Language reference > List: rtecalls > rtecall("passchange") function

rtecall("passchange") function

A RAD function that changes a user password.

Function

rtecall("passchange")

Format

$L.success.flag=rtecall($L.fnc.name, $L.return.code, $L.old.pass, $L.new.pass,
$L.confirm.pass)

Parameters

The following parameters are valid for the rtecall("passchange") function:

Parameter Data type Description
$L.success.flg Logical Indicates if the function was successful.
$L.fnc.name String Name of the sub-function to call. In this case, the sub-function called is passchange.
$L.return.code Number Provides a more detailed return code.
$L.old.pass String The old password.
$L.new.pass String The new password.
$L.confirm.pass String A confirmation of the new password.

Factors

If the $L.success.flg is false, the function failed. If it is true, the function succeeded.

Example

$L.success.flg= rtecall("passchange", $L.return.code, "oldpassword",
"newpassword", "newpassword")