Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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