Codeunit 9810 Password Dialog Management

System Application, System.Security.AccessControl

Source AL, 85 lines

src/System Application/App/Password/src/PasswordDialogManagement.Codeunit.allines 11 to 26 of 85, Copyright (c) Microsoft Corporation. MIT

codeunit 9810 "Password Dialog Management"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        PasswordDialogImpl: Codeunit "Password Dialog Impl.";    /// <summary>    /// Opens a dialog for the user to enter a password and returns the typed password if there is no validation error,    /// otherwise an empty text is returned.    /// </summary>    /// <param name="DisablePasswordValidation">Disables the checks for the password validity. Default value is false.</param>    /// <param name="DisablePasswordConfirmation">If set to true the new password is only needed once. Default value is false.</param>

All 85 lines

Events 1 in 29

[IntegrationEvent] OnSetMinPasswordLength(var MinPasswordLength: Integer)17-29

Public procedures 5 in 29

OpenSecretPasswordDialog(DisablePasswordValidation: Boolean; DisablePasswordConfirmation: Boolean): SecretTextnew in 24
OpenSecretPasswordDialog(DisablePasswordValidation: Boolean): SecretTextnew in 24
OpenSecretPasswordDialog(): SecretTextnew in 24
OpenPasswordChangeDialog(CurrentPassword: SecretText; var NewPassword: SecretText)new in 25
ValidatedPasswordMatch(CurrentPasswordToCompare: SecretText; PasswordToCompare: SecretText)new in 27

All 10 procedures in 17-29

Changes 6 in 27

List17181920212223242526272829
Procedures826
OpenPasswordDialog(DisablePasswordValidation: Boolean; DisablePasswordConfirmation: Boolean): Textgone after 26
gone
OpenPasswordDialog(DisablePasswordValidation: Boolean): Textgone after 26
gone
OpenPasswordDialog(): Textgone after 26
gone
OpenChangePasswordDialog(var OldPassword: Text; var Password: Text)gone after 26
gone
OpenChangePasswordDialog(var OldPassword: SecretText; var Password: SecretText)24 to 26
gone
ValidatedPasswordMatch(CurrentPasswordToCompare: SecretText; PasswordToCompare: SecretText)new in 27
added

All 16 changes in 17-29