codeunitAdministration & Setupofficial - Microsoftderived - from the source, no model text

Codeunit 152 "User Permissions"

System Application · System.Security.User

Across versions

  1. BC23-24present
  2. BC251 procedures added
  3. BC261 procedures removed
  4. BC27-30unchanged

Neighbourhood 45 connected objects and pages

Codeunit 153 "User Permissions Impl." (calls, 6 links)User Permissions Impl.Codeunit 20406 "Qlty. Permission Mgmt." (calls, 5 links)Qlty. Permission Mgmt.Codeunit 3307 "Payables Agent Setup" (calls, 3 links)Codeunit 6922 "Expense Agent Entra App Mgt." (calls, 3 links)Expense Agent Entra App Mgt.Codeunit 3904 "Apply Retention Policy Impl." (calls, 2 links)Codeunit 4001 "Hybrid Cloud Management" (calls, 2 links)Hybrid Cloud ManagementCodeunit 489 "IC Partner Change Monitor" (calls, 2 links)Codeunit 9001 "Permission Pages Mgt." (calls, 2 links)Permission Pages Mgt.Codeunit 9002 "Permission Manager" (calls, 2 links)Codeunit 9018 "Azure AD Plan Impl." (calls, 2 links)Azure AD Plan Impl.Codeunit 9175 "User Settings Impl." (calls, 2 links)User Settings Impl.Page 9192 "Company Creation Wizard" (calls, 2 links)Company Creation WizardPage 9515 "Azure AD User Update Wizard" (calls, 2 links)Azure AD User Update WizardPage 9800 "Users" (calls, 2 links)Page 9807 "User Card" (calls, 2 links)User CardCodeunit 1430 "Role Center Notification Mgt." (calls)Role Center Notification Mgt.Codeunit 1932 "Scheduled Perf. Profiler Impl." (calls)Scheduled Perf. Profiler Impl.Codeunit 2027 "Image Analyzer Ext. Mgt." (calls)Codeunit 40032 "Migration Validation" (calls)Migration ValidationCodeunit 4035 "Wizard Integration" (calls)Codeunit 4318 "Agent System Permissions Impl." (calls)Agent System Permissions Impl.Codeunit 47005 "SL Wizard Integration" (calls)Codeunit 6301 "Power BI Service Mgt." (calls)Codeunit 7774 "Copilot Capability Impl" (calls)Codeunit 9822 "Plan Configuration Impl." (calls)Codeunit 9852 "Effective Permissions Mgt." (calls)Codeunit 9856 "Permission Set Relation Impl." (calls)Page 4000 "Hybrid Cloud Setup Wizard" (calls)Page 4003 "Intelligent Cloud Management" (calls)Page 40063 "Cloud Migration Management" (calls)Page 4007 "Intelligent Cloud Ready" (calls)Page 4017 "Intelligent Cloud Update" (calls)Page 8700 "Table Information" (calls)Page 9200 "Personalized Pages" (calls)Page 9802 "Permission Sets" (calls)Page 9811 "User ACS Setup" (calls)Page 9812 "Set Web Service Access Key" (calls)Page 9855 "Permission Set" (calls)Page 9871 "Security Groups" (calls)Page extension 4015 "Intelligent Cloud Extension" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

System Application · System.Security.User · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Public

Procedures

  • IsSuper(UserSecurityId: Guid): Boolean: Checks whether the user has the SUPER permissions set.
  • RemoveSuperPermissions(UserSecurityId: Guid): Boolean: Removes the SUPER permissions set from a user.
  • CanManageUsersOnTenant(UserSecurityId: Guid): Boolean: Checks whether the user has permission to manage users in the tenant.
  • HasUserPermissionSetAssigned(UserSecurityId: Guid; Company: Text; RoleId: Code[20]; Scope: Option; AppId: Guid): Boolean: Checks whether a user has a specific permission set assigned.
  • AssignPermissionSets(var UserSecurityId: Guid; CompanyName: Text; var AggregatePermissionSet: Record "Aggregate Permission Set") + BC25: Assign a permission set to a given user
  • GetEffectivePermission(PermissionObjectType: Option "Table Data","Table",,"Report",,"Codeunit","XMLport",MenuSuite,"Page","Query","System",,,,,,,,,; ObjectId: Integer): Record "Expanded Permission" temporary: Gets the effective permissions for the current user in the current company.

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 153 “User Permissions Impl.” (6 calls: AssignPermissionSets → AssignPermissionSets, CanManageUsersOnTenant → CanManageUsersOnTenant, GetEffectivePermission → GetEffectivePermission, …)

Called by

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: "User Permissions"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources