Codeunit 104061 Upgrade User Groups

Base Application, System.Security.AccessControl

src/Layers/W1/BaseApp/System/UserGroups/Transition/UpgradeUserGroups.Codeunit.al7 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnUpgradePerDatabase line 13, trigger

  1. 19callsCodeunit 6060 Hybrid Deployment VerifyCanStartUpgrade
  2. 23callsIsUserGroupObsoleteStateRemoved
  3. 26callsCodeunit 9999 Upgrade Tag HasUpgradeTag
  4. 26callsCodeunit 9998 Upgrade Tag Definitions GetUserGroupsMigrationUpgradeTag
  5. 29callsRunUpgrade
  6. 31callsCodeunit 9999 Upgrade Tag SetUpgradeTag
  7. 31callsCodeunit 9998 Upgrade Tag Definitions GetUserGroupsMigrationUpgradeTag

RunUpgrade line 44, internal

  1. 52raisesOnBeforeUpgradeUserGroups
  2. 54callsCodeunit 104042 Upgrade Permission Sets RunUpgrade
  3. 55callsCodeunit 104060 Upgrade App ID Permissions RunUpgrade
  4. 56callsCodeunit 104030 Upgrade Plan Permissions RunUpgrade
  5. 59callsMigrateUserGroups

MigrateUserGroups line 62, internal

  1. 64callsCreateTenantPermissionSetsForSelectedGroups
  2. 65callsTransferDefaultPermissionsPerPlan
  3. 67raisesOnMigrateUserGroups

CreateTenantPermissionSetsForSelectedGroups line 70, local

  1. 83callsCreateNewTenantPermissionSet
  2. 85callsCreateTenantPermissionSetRelation
  3. 88callsCodeunit 104030 Upgrade Plan Permissions ReplaceUserGroupPermissionSets

CreateNewTenantPermissionSet line 92, local

  1. 116writesTable 2000000165 Tenant Permission Set Insert

CreateTenantPermissionSetRelation line 120, local

  1. 132writesTable 2000000253 Tenant Permission Set Rel. Insert

TransferDefaultPermissionsPerPlan line 135, local

  1. 146callsCodeunit 9825 Plan Configuration AddDefaultPermissionSetToPlan