---
title: "Codeunit 9842 Legacy User Groups"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/9842-legacy-user-groups/
type: codeunit
id: 9842
name: "Legacy User Groups"
app: "Base Application"
namespace: System.Security.AccessControl
versions: "22-24"
build: 24.5.23489.36097
obsolete: "Pending 22.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 9842 Legacy User Groups

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/9842-legacy-user-groups/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Security.AccessControl |
| Versions | 22-24 |
| Obsolete | Pending 22.0, seen from 22. [220_UserGroups] User groups functionality is deprecated. To learn more, go to https://go.microsoft.com/fwlink/?linkid=2245709. |
| Source file | System/UserGroups/Transition/LegacyUserGroups.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| UiElementsVisible | () | Boolean | public | 22-24 | - | - |
| SendUserGroupsNotification | () | - | internal | 22-24 | - | - |
| OpenFeatureManagementNotification | (Notification) | - | internal | 22-24 | - | - |
| OpenFeatureManagementError | (var ErrorInfo) | - | internal | 22-24 | - | - |
| CheckUserGroupInsertAllowed | () | - | internal | 22-24 | - | - |

## 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.

Jonas Paprotka, 2026-09-20.
