---
title: "Codeunit 418 User Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/418-user-management/
type: codeunit
id: 418
name: "User Management"
app: "Base Application"
namespace: System.Security.User
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/418-user-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 418 User Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/418-user-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Security.User |
| Versions | 17-28 |
| Source file | System/User/UserManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| DisplayUserInformation | (Text) | - | public | 17-28 | - | - |
| DisplayUserInformationBySID | (Guid) | - | public | 17-28 | - | - |
| ValidateUserName | (Record User, Record User, Text) | - | public | 17-28 | Pending 26.0 | ValidateUserName has been moved to the User Codeunit |
| ValidateState | (var Record User, var Record User) | - | public | 17-28 | Pending 26.0 | ValidateState has been moved to the User Codeunit |
| BasicAuthDepricationNotificationId | () | Guid | public | 17-25 | Pending 23.0 | Basic Authentication deprecation warning should no longer be shown with from 23.0 |
| BasicAuthDepricationNotificationDefault | (Boolean) | - | public | 17-25 | Pending 23.0 | Basic Authentication deprecation warning should no longer be shown with from 23.0 |
| BasicAuthDepricationNotificationShow | (Notification) | - | public | 17-25 | Pending 23.0 | Basic Authentication deprecation warning should no longer be shown with from 23.0 |
| DisableNotifications | (Notification) | - | public | 17-25 | - | - |
| BasicAuthDepricationNotificationShowMore | (Notification) | - | public | 17-25 | Pending 23.0 | Basic Authentication deprecation warning should no longer be shown with from 23.0 |
| RenameUser | (Code[50], Code[50]) | - | public | 17-28 | Pending 26.0 | RenameUser has been moved to the User Codeunit |
| BasicAuthUsedNotificationId | () | Guid | public | 20-25 | Pending 23.0 | Basic Authentication deprecation warning should no longer be shown with from 23.0 |
| BasicAuthUsedNotificationDefault | (Boolean) | - | public | 20-25 | Pending 23.0 | Basic Authentication deprecation warning should no longer be shown with from 23.0 |
| BasicAuthUsedNotificationShow | (Notification) | - | public | 20-25 | Pending 23.0 | Basic Authentication deprecation warning should no longer be shown with from 23.0 |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterRenameRecord | (var RecordRef, Integer, Integer, Code[50], Text[30]) | 17-28 | - | - |
| Integration event | OnAfterRenameUser | (Code[50], Code[50]) | 17-28 | Pending 26.0 | RenameUser has been moved to the User Codeunit |
| Integration event | OnBeforeRenameUser | (Code[50], Code[50]) | 17-28 | Pending 26.0 | RenameUser has been moved to the User Codeunit |
| Integration event | OnRenameUserOnBeforeProcessField | (Integer, Integer, Code[50], Code[50], var Boolean) | 17-28 | Pending 26.0 | RenameUser has been moved to the User Codeunit |
| Integration event | OnValidateUserNameOnAfterCalcCheckForWindowsUserName | (Record User, Text, var Boolean) | 21-28 | Pending 26.0 | ValidateUserName has been moved to the User Codeunit |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
