Codeunit 104061 "Upgrade User Groups"
Base Application · System.Security.AccessControl
Across versions
- BC23-24present
- BC251 procedures added, 1 procedures removed
- BC26-30unchanged
Neighbourhood 8 connected objects and pages
Base Application · System.Security.AccessControl · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Subtype | Upgrade |
Events published
OnMigrateUserGroups()(integration)- subscribers: Codeunit 9032 “Upgrade Custom User Groups” TransferCustomPermissionsPerPlan
OnBeforeUpgradeUserGroups()(integration)
Procedures
IsUserGroupObsoleteStateRemoved(): Boolean+ BC25 (internal)RunUpgrade()(internal)MigrateUserGroups(UserGroupsToConvert: List of [Code[20]])(internal)
Plus 4 local procedures.
Triggers
OnUpgradePerDatabase
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 104030 “Upgrade Plan Permissions” (2 calls:
CreateTenantPermissionSetsForSelectedGroups → ReplaceUserGroupPermissionSets,RunUpgrade → RunUpgrade) - Codeunit 9999 “Upgrade Tag” (2 calls:
OnUpgradePerDatabase → HasUpgradeTag,OnUpgradePerDatabase → SetUpgradeTag) - Codeunit 104042 “Upgrade Permission Sets” (1 call:
RunUpgrade → RunUpgrade) - Codeunit 104060 “Upgrade App ID Permissions” (1 call:
RunUpgrade → RunUpgrade) - Codeunit 6060 “Hybrid Deployment” (1 call:
OnUpgradePerDatabase → VerifyCanStartUpgrade) - Codeunit 9825 “Plan Configuration” (1 call:
TransferDefaultPermissionsPerPlan → AddDefaultPermissionSetToPlan) - Codeunit 9998 “Upgrade Tag Definitions” (1 call:
OnUpgradePerDatabase → GetUserGroupsMigrationUpgradeTag)
Called by
- Codeunit 104030 “Upgrade Plan Permissions” (2 calls:
RunUserGroupUpgrade → IsUserGroupObsoleteStateRemoved,SetAutomateActionPermissions → IsUserGroupObsoleteStateRemoved)
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: "Upgrade User Groups"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.