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

Codeunit 9800 "User"

Base Application · System.Security.User

Across versions

  1. BC23present
  2. BC24-25not present
  3. BC26added
  4. BC27-30unchanged

Neighbourhood 8 connected objects and pages

Codeunit 418 "User Management" (event subscribers, 2 links)User ManagementCodeunit 4001 "Hybrid Cloud Management" (event subscribers)Hybrid Cloud ManagementPage 9807 "User Card" (calls, 2 links)User CardCodeunit 27 "Confirm Management" (calls)Confirm ManagementCodeunit 457 "Environment Information" (calls)Environment InformationPage 4022 "Migration User Mapping" (calls)Migration User MappingPage 9800 "Users" (calls)Usershttps://learn.microsoft.com/dynamics365/business-central/dev-itpro/administration/migration-finish (Learn pages)https://learn.microsoft.com/…

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.

Base Application · System.Security.User · BC23, BC26-30 · source at 4e6a307c · facts from BC29

Events published

  • OnAfterRenameRecord(var RecRef: RecordRef; TableNo: Integer; NumberOfPrimaryKeyFields: Integer; UserName: Code[50]; Company: Text[30]) (integration)
  • OnAfterRenameUser(OldUserName: Code[50]; NewUserName: Code[50]) (integration)
  • OnBeforeRenameUser(OldUserName: Code[50]; NewUserName: Code[50]) (integration)
  • OnRenameUserOnBeforeProcessField(TableID: Integer; FieldID: Integer; OldUserName: Code[50]; NewUserName: Code[50]; CompanyName: Text[30]; var IsHandled: Boolean) (integration)
  • OnValidateUserNameOnAfterCalcCheckForWindowsUserName(NewUser: Record User; WindowsUserName: Text; var CheckForWindowsUserName: Boolean) (integration)

Procedures

  • ValidateUserName(NewUser: Record User; OldUser: Record User; WindowsUserName: Text)
  • RenameUser(OldUserName: Code[50]; NewUserName: Code[50])
  • ValidateState(var Rec: Record User; var xRec: Record User)

Plus 3 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

Documented on Microsoft Learn

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

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

Evidence 1 sources