Codeunit 9825 "Plan Configuration"
System Application · System.Azure.Identity
Across versions
- BC23-25present
- BC265 events removed
- BC27-30unchanged
Neighbourhood 11 connected objects and pages
System Application · System.Azure.Identity · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
IsCustomized(PlanId: Guid): Boolean: Checks if a plan configuration was customized.AddCustomPermissionSetToPlan(PlanId: Guid; RoleId: Code[20]; AppId: Guid; Scope: Option; Company: Text[30]): Adds a permission set to a plan.RemoveCustomPermissionSetFromPlan(PlanId: Guid; RoleId: Code[20]; AppId: Guid; Scope: Option; Company: Text): Removes a permissions set from a plan.AssignCustomPermissionsToUser(PlanId: Guid; UserSecurityId: Guid): Assigns all custom permission sets for a plan to a user.RemoveCustomPermissionsFromUser(PlanId: Guid; UserSecurityId: Guid): Removes custom permission sets for a plan from a user. If the permission set is also associated with another plan, it is not deleted.GetCustomPermissions(var PermissionSetInPlanBuffer: Record "Permission Set In Plan Buffer"): Gets the list of all custom permission sets for a plan.AddDefaultPermissionSetToPlan(PlanId: Guid; RoleId: Code[20]; AppId: Guid; Scope: Option): Adds a permission set to a plan.RemoveDefaultPermissionSetFromPlan(PlanId: Guid; RoleId: Code[20]; AppId: Guid; Scope: Option): Removes a permissions set from a plan.AssignDefaultPermissionsToUser(PlanId: Guid; UserSecurityId: Guid; Company: Text[30]): Assigns all default permission sets for a plan to a user.RemoveDefaultPermissionsFromUser(PlanId: Guid; UserSecurityId: Guid): Removes default permission sets for a plan from a user. If the permission set is also associated with another plan, it is not deleted.GetDefaultPermissions(var PermissionSetInPlanBuffer: Record "Permission Set In Plan Buffer"): Gets the list of all default permission sets for a plan.VerifyUserHasRequiredPermissionSet(RoleId: Code[20]; AppId: Guid; Scope: Option; Company: Text): Checks whether the current user has enough permissions to assign or de-assign a permission set from plan.
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 9822 “Plan Configuration Impl.” (12 calls:
AddCustomPermissionSetToPlan → AddCustomPermissionSetToPlan,AddDefaultPermissionSetToPlan → AddDefaultPermissionSetToPlan,AssignCustomPermissionsToUser → AssignCustomPermissionsToUser, …)
Called by
- Table 9018 “Custom Permission Set In Plan” (4 calls:
OnDelete → VerifyUserHasRequiredPermissionSet,OnInsert → VerifyUserHasRequiredPermissionSet,OnModify → VerifyUserHasRequiredPermissionSet, …) - Codeunit 9017 “Azure AD User Mgmt. Impl.” (3 calls:
ArePermissionsCustomized → GetCustomPermissions,ArePermissionsCustomized → GetDefaultPermissions,ArePermissionsCustomized → IsCustomized) - Codeunit 9018 “Azure AD Plan Impl.” (3 calls:
RemoveUnassignedUserPlans → IsCustomized,RemoveUnassignedUserPlans → RemoveCustomPermissionsFromUser,RemoveUnassignedUserPlans → RemoveDefaultPermissionsFromUser) - Codeunit 9873 “BaseApp Security Group Impl.” (2 calls:
SendLicenseConfigurationNotificationOnFirstRecord → GetCustomPermissions,SendLicenseConfigurationNotificationOnFirstRecord → GetDefaultPermissions) - Codeunit 104030 “Upgrade Plan Permissions” (1 call:
AddPermissionSetToPlan → AddDefaultPermissionSetToPlan) - Codeunit 104061 “Upgrade User Groups” (1 call:
TransferDefaultPermissionsPerPlan → AddDefaultPermissionSetToPlan) - Codeunit 5684 “Create Contoso Permissions” (1 call:
AddPermissionSet → AddDefaultPermissionSetToPlan) - Codeunit 9032 “Upgrade Custom User Groups” (1 call:
TransferCustomPermissionsPerPlan → AddCustomPermissionSetToPlan) - Codeunit 9087 “Microsoft 365 License Impl.” (1 call:
AssignMicrosoft365ReadPermission → AddCustomPermissionSetToPlan) - Page 1978 “MS 365 License Setup Wizard” (1 call:
HasLicenseConfiguration → GetCustomPermissions)
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: "Plan Configuration"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.