codeunitCopilot & Agentsofficial - Microsoftderived - from the source, no model text

Codeunit 4301 "Agent Impl."

System Application · System.Agents

Across versions

  1. BC23-24not present
  2. BC25added
  3. BC263 procedures added, 2 procedures removed
  4. BC2717 procedures added, 14 procedures changed
  5. BC285 procedures added, 1 procedures removed
  6. BC296 procedures added
  7. BC30unchanged

Neighbourhood 13 connected objects and pages

Codeunit 4321 "Agent" (calls, 27 links)AgentCodeunit 4325 "Agent Setup Impl." (calls, 4 links)Agent Setup Impl.Page extension 9204 "User Settings" (calls, 3 links)User SettingsPage 4316 "Agent List" (calls, 2 links)Agent ListCodeunit 8711 "Telemetry" (calls)TelemetryPage 4315 "Agent Card" (calls)Page 4317 "Agent User Settings" (calls)Agent User SettingsPage 4320 "View Agent Access Control" (calls)View Agent Access ControlPage 4334 "View Agent Permissions" (calls)Page 4338 "Select Agent Access Ctrl Part" (calls)Select Agent Access Ctrl PartPage 4340 "Select Agent Permissions Part" (calls)Select Agent Permissions PartPage 9212 "Roles" (calls)RolesPage extension 4353 "Agent Card" (calls)Agent Card

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.Agents · BC25-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Internal
Permissions tabledata Agent = rim, tabledata “All Profile” = r, tabledata Company = r, tabledata “Copilot Settings” = r, tabledata “Agent Access Control” = d, tabledata “Application User Settings” = rim, tabledata User = r, tabledata “User Personalization” = rim

Procedures

  • CreateAgent(AgentMetadataProvider: Enum "Agent Metadata Provider"; var UserName: Code[50]; AgentUserDisplayName: Text[80]; var TempAgentAccessControl: Record "Agent Access Control" temporary): Guid Δ BC27
  • Activate(AgentUserSecurityID: Guid) Δ BC27
  • Deactivate(AgentUserSecurityID: Guid) Δ BC27
  • Archive(AgentUserSecurityID: Guid) + BC29
  • IsArchivingSupported(AgentUserSecurityID: Guid): Boolean + BC29 + BC29
  • IsArchived(AgentUserSecurityID: Guid): Boolean + BC29
  • ShowAgent(AgentUserSecurityID: Guid) + BC29
  • GetUserAccess(AgentUserSecurityID: Guid; var TempAgentAccessControl: Record "Agent Access Control" temporary) Δ BC27 + BC27 − BC27
  • PopulateProfileTempRecord(ProfileID: Text[30]; ProfileAppID: Guid; var TempAllProfile: Record "All Profile" temporary) + BC27
  • SetProfile(AgentUserSecurityID: Guid; var AllProfile: Record "All Profile") Δ BC27 + BC27 + BC27
  • SetProfile(AgentUserSecurityID: Guid; ProfileID: Text; ProfileAppID: Guid) Δ BC27 + BC27 + BC27
  • UpdateLocalizationSettings(AgentUserSecurityID: Guid; LanguageID: Integer; LocaleID: Integer; TimeZone: Text[180]) + BC27 + BC27
  • UpdateLocalizationSettings(AgentUserSecurityID: Guid; var NewUserSettingsRec: Record "User Settings") + BC27 + BC27
  • GetUserSettings(AgentUserSecurityID: Guid; var UserSettingsRec: Record "User Settings") + BC27
  • GetUserName(AgentUserSecurityID: Guid): Code[50] Δ BC27
  • GetDisplayName(AgentUserSecurityID: Guid): Text[80] Δ BC27
  • SetDisplayName(AgentUserSecurityID: Guid; DisplayName: Text[80]) Δ BC27
  • GetModelId(AgentUserSecurityID: Guid): Code[30] + BC28
  • GetModelName(AgentUserSecurityID: Guid): Text[70] + BC28
  • SetModelId(AgentUserSecurityID: Guid; ModelId: Code[30]) + BC28
  • SetModelIdToAuto(AgentUserSecurityID: Guid) + BC28
  • IsActive(AgentUserSecurityID: Guid): Boolean Δ BC27
  • UpdateAgentAccessControl(AgentUserSecurityID: Guid; var TempAgentAccessControl: Record "Agent Access Control" temporary) Δ BC27
  • UpdateAgentUserSettings(NewUserSettings: Record "User Settings") Δ BC27
  • ProfileLookup(var UserSettingsRec: Record "User Settings"): Boolean
  • AssignPermissionSets(var UserSecurityID: Guid; var TempAccessControlBuffer: Record "Access Control Buffer" temporary) + BC27 − BC27
  • GetPermissionSets(AgentUserSecurityID: Guid; var TempAccessControlBuffer: Record "Access Control Buffer" temporary) + BC27
  • GetAgent(var Agent: Record Agent; UserSecurityID: Guid) Δ BC27
  • SelectAgent(var Agent: Record "Agent") + BC28
  • SelectAgent(var Agent: Record "Agent"; AlwaysShowUI: Boolean) + BC28
  • ShowNoAgentsAvailableNotification() + BC26
  • OpenNoAgentsLearnMore(Notification: Notification) + BC26
  • OpenSetupPageId(AgentMetadataProvider: Enum "Agent Metadata Provider"; AgentUserSecurityID: Guid) + BC27
  • GetAccessControlForSingleCompany(AgentUserSecurityID: Guid; var SingleCompanyName: Text[30]): Boolean + BC27
  • GetCopilotAvailabilityDisplayText(Agent: Record Agent): Text + BC27

Plus 12 local procedures.

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.

Called by

Recent changes

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

Evidence 1 sources