Codeunit 104061 Upgrade User Groups

Base Application, System.Security.AccessControl

Source AL, 163 lines

src/Layers/W1/BaseApp/System/UserGroups/Transition/UpgradeUserGroups.Codeunit.allines 9 to 24 of 163, Copyright (c) Microsoft Corporation. MIT

codeunit 104061 "Upgrade User Groups"{    Subtype = Upgrade;    trigger OnUpgradePerDatabase()    var        UpgradeTag: Codeunit "Upgrade Tag";        HybridDeployment: Codeunit "Hybrid Deployment";        UpgradeTagDefinitions: Codeunit "Upgrade Tag Definitions";    begin        if not HybridDeployment.VerifyCanStartUpgrade('') then            exit;        // Only forcefully migrate user groups when the feature tables are removed (v25+)        if not IsUserGroupObsoleteStateRemoved() then            exit;

All 163 lines

Events 2 in 29

[IntegrationEvent] OnMigrateUserGroups()new in 22
[IntegrationEvent] OnBeforeUpgradeUserGroups()new in 22

Changes 1 in 25

List17181920212223242526272829
Procedures1
internal IsUserGroupObsoleteStateRemoved(): Booleannew in 25
added

All 1 changes in 22-29