Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Version: Available or changed with runtime version 1.0.
Changes the password for the current user.
Note
This method is supported only in Business Central on-premises.
Syntax
[Ok := ] Database.ChangeUserPassword(OldPassword: Text, NewPassword: Text)
Note
This method can be invoked without specifying the data type name.
Parameters
OldPassword
Type: Text
The old password for the user.
NewPassword
Type: Text
The new password for the user.
Return Value
[Optional] Ok
Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Related information
Database Data Type
Get Started with AL
Developing Extensions