ALAppExtensions
ALAppExtensions copied to clipboard
9810 "Password Dialog" - Make available for SAAS
Please remove "Scope" attribute from all methods from page 9810 "Password Dialog"
page 9810 "Password Dialog"
/// <summary>
/// Gets the password value typed on the page.
/// </summary>
/// <returns>The password value typed on the page.</returns>
[Scope('OnPrem')]
procedure GetPasswordValue(): Text
begin
if ValidPassword then
exit(PasswordValue);
exit('');
end;
/// <summary>
/// Gets the old password value typed on the page.
/// </summary>
/// <returns>The old password typed on the page.</returns>
[Scope('OnPrem')]
procedure GetOldPasswordValue(): Text
begin
if ValidPassword then
exit(OldPasswordValue);
exit('');
end;
/// <summary>
/// Enables the Change password mode, it makes the old password field on the page visible.
/// </summary>
[Scope('OnPrem')]
procedure EnableChangePassword()
begin
ShowOldPassword := true;
end;
/// <summary>
/// Disables any password validation.
/// </summary>
[Scope('OnPrem')]
procedure DisablePasswordValidation()
begin
RequiresPasswordValidation := false;
end;
/// <summary>
/// Disables any password confirmation, it makes the Confirm Password field on the page hidden.
/// </summary>
[Scope('OnPrem')]
procedure DisablePasswordConfirmation()
begin
RequiresPasswordConfirmation := false;
end;
@xitche is there anything missing in the wrapper codeunit 9810 "Password Dialog Management" https://github.com/microsoft/ALAppExtensions/blob/main/Modules/System/Password/src/PasswordDialogManagement.Codeunit.al
Why do you need to use this page directly?
Sorry, we cannot do that due to security reasons