---
id: object/codeunit/9810
type: object
title: Codeunit 9810 "Password Dialog Management"
summary: Codeunit 9810 "Password Dialog Management" in System Application (System.Security.AccessControl). 5 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24-25, BC27.
tier: official
language: en
tags:
  - codeunit
  - system application
versions:
  introduced: null
  last_changed: "27"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 3f91fd8e20398de2004be03e3368915d23ac44d6526621a38201730d52c1235d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Password/src/PasswordDialogManagement.Codeunit.al
    title: src/System Application/App/Password/src/PasswordDialogManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 9810
name: Password Dialog Management
namespace: System.Security.AccessControl
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 6
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 3
  implements: 0
---

# Codeunit 9810 "Password Dialog Management"

> Codeunit 9810 "Password Dialog Management" in System Application (System.Security.AccessControl). 5 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24-25, BC27.

System Application · System.Security.AccessControl · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Password/src/PasswordDialogManagement.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Public |

## Events published

- `OnSetMinPasswordLength(var MinPasswordLength: Integer)` (integration): Event to override the Minimum number of characters in the password. The Minimum length can only be increased not decreased. Default value is 8 characters long.

## Procedures

- `OpenSecretPasswordDialog(DisablePasswordValidation: Boolean; DisablePasswordConfirmation: Boolean): SecretText`: 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.
- `OpenSecretPasswordDialog(DisablePasswordValidation: Boolean): SecretText`: 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.
- `OpenSecretPasswordDialog(): SecretText`: 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.
- `OpenPasswordChangeDialog(CurrentPassword: SecretText; var NewPassword: SecretText)`: Opens a dialog for the user to change a password and returns the new typed password if there is no validation error, otherwise an empty text are returned.
- `ValidatedPasswordMatch(CurrentPasswordToCompare: SecretText; PasswordToCompare: SecretText)`: Compare the passwords and return the error if the passwords do not match

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 9811 "Password Dialog Impl."](../codeunit/9811.md) (3 calls: `OpenPasswordChangeDialog → OpenPasswordChangeDialog`, `OpenSecretPasswordDialog → OpenSecretPasswordDialog`, `ValidatedPasswordMatch → ValidatedPasswordMatch`)

## Called by

- [Codeunit 1279 "Cryptography Management Impl."](../codeunit/1279.md) (4 calls: `ChangeKey → OpenSecretPasswordDialog`, `EnableEncryption → OpenSecretPasswordDialog`, `ExportKey → OpenSecretPasswordDialog`, …)
- [Codeunit 1282 "Password Handler Impl."](../codeunit/1282.md) (1 call: `GetPasswordMinLength → OnSetMinPasswordLength`)
- [Page 9807 "User Card"](../page/9807.md) (1 call: `EditNavPassword → OpenSecretPasswordDialog`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25, BC27

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Password Dialog Management")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
