Codeunit 4317 "Agent System Permissions"
System Application · System.Agents
Across versions
- BC23-26not present
- BC27added
- BC284 procedures added, 1 procedures changed
- BC29-30unchanged
Neighbourhood 11 connected objects and pages
System Application · System.Agents · BC27-30 · source at ea08af5e · facts from BC29
Procedures
CurrentUserCanSeeConsumptionData(): Boolean+ BC28: Gets whether the current user has permissions to see all consumption data.CurrentUserHasCanManageAllAgentsInAllCompaniesPermission(): Boolean+ BC28: Gets whether the current user has permissions to manage all agents in all companies.CurrentUserHasCanManageAllAgentsPermission(): BooleanΔ BC28: Gets whether the current user has permissions to manage all agents.CurrentUserHasTroubleshootAllAgents(): Boolean: Gets whether the current user has permissions to troubleshoot the execution of agent tasks.CurrentUserHasCanCreateCustomAgent(): Boolean: Gets whether the current user has permissions to create custom agents.CurrentUserCanUseAgent(AgentUserSecurityId: Guid): Boolean+ BC28: Gets whether the current user has permissions to use a specific agent.CurrentUserCanManageAgent(AgentUserSecurityId: Guid): Boolean+ BC28: Gets whether the current user has permissions to manage a specific agent.
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 4318 “Agent System Permissions Impl.” (7 calls:
CurrentUserCanManageAgent → CurrentUserCanManageAgent,CurrentUserCanSeeConsumptionData → CurrentUserCanSeeConsumptionData,CurrentUserCanUseAgent → CurrentUserCanUseAgent, …)
Called by
- Codeunit 4362 “Agent Designer Permissions” (6 calls:
CurrentUserCanCreateCustomAgents → CurrentUserHasCanCreateCustomAgent,CurrentUserCanCreateCustomAgents → CurrentUserHasCanManageAllAgentsPermission,CurrentUserCanDeleteCustomAgents → CurrentUserHasCanManageAllAgentsPermission, …) - Page 4333 “Agent Consumption Overview” (3 calls:
SendNonAdminDisclaimerNotification → CurrentUserHasCanManageAllAgentsInAllCompaniesPermission,ValidateAgentAccessControl → CurrentUserCanUseAgent,ValidateAgentAccessControl → CurrentUserHasCanManageAllAgentsPermission) - Codeunit 3307 “Payables Agent Setup” (1 call:
AllowCreateNewAgent → CurrentUserHasCanManageAllAgentsPermission) - Codeunit 4400 “SOA Setup” (1 call:
AllowCreateNewSOAgent → CurrentUserHasCanManageAllAgentsPermission) - Codeunit 6922 “Expense Agent Entra App Mgt.” (1 call:
VerifyCurrentUserCanManageExpenseAgent → CurrentUserHasCanManageAllAgentsPermission) - Codeunit 6998 “EA Metadata Provider” (1 call:
ShowCanCreateAgent → CurrentUserHasCanManageAllAgentsPermission) - Page 4315 “Agent Card” (1 call:
OnOpenPage → CurrentUserCanManageAgent) - Page 4400 “SOA Setup” (1 call:
OnOpenPage → CurrentUserCanManageAgent) - Page 6991 “Expense Agent Setup Wizard” (1 call:
OnOpenPage → CurrentUserHasCanManageAllAgentsPermission) - Page 6996 “Expense Agent Setup” (1 call:
OnOpenPage → CurrentUserHasCanManageAllAgentsPermission)
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: "Agent System Permissions"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.