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

Codeunit 9176 "User Settings"

System Application · System.Environment.Configuration

Across versions

  1. BC23present
  2. BC242 procedures added
  3. BC253 procedures added
  4. BC261 procedures changed
  5. BC271 procedures added
  6. BC28-30unchanged

Neighbourhood 5 connected objects and pages

Codeunit 1438 "Ess. Bus. Headline Subscribers" (event subscribers)Ess. Bus. Headline SubscribersCodeunit 1800 "Assisted Company Setup" (event subscribers)Assisted Company SetupCodeunit 9170 "Conf./Personalization Mgt." (event subscribers)Conf./Personalization Mgt.Codeunit 9275 "My Settings" (event subscribers)My SettingsCodeunit 9175 "User Settings Impl." (calls, 11 links)User Settings Impl.

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.Environment.Configuration · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnGetDefaultProfile(var AllProfile: Record "All Profile") (integration): Integration event to get the default profile.
  • OnGetSettingsPageID(var SettingsPageID: Integer) (integration): Integration event that allows changing the settings page ID.
  • OnBeforeOpenSettings(var Handled: Boolean) (integration): Integration event that allows changing the behavior of opening the settings page.
  • OnAfterGetUserSettings(var UserSettings: Record "User Settings") (integration): Integration event that allows updating the User Settings record with extra values.
  • OnUpdateUserSettings(OldSettings: Record "User Settings"; NewSettings: Record "User Settings") (integration): Integration event that allows updating the settings on related records.
  • OnCompanyChange(NewCompanyName: Text; var IsSetupInProgress: Boolean) (integration): Integration event that fires every time the company is changed.

Procedures

  • GetPageId(): Integer
  • GetUserSettings(UserSecurityID: Guid; var UserSettings: Record "User Settings"): Gets the settings for the given user.
  • DisableTeachingTips(UserSecurityId: Guid): Disables the teaching tips for a given user.
  • EnableTeachingTips(UserSecurityId: Guid): Enables the teaching tips for a given user.
  • DisableLegacyActionBar(UserSecurityId: Guid) + BC24: Disables the legacy action bar for a given user.
  • EnableLegacyActionBar(UserSecurityId: Guid) + BC24: Enables the legacy action bar for a given user.
  • GetAllowedCompaniesForCurrentUser(var TempCompany: Record Company temporary): Get the companies the current user has access to.
  • GetAllowedCompaniesForUser(UserSecurityId: Guid; var TempCompany: Record Company temporary) + BC27: Get the companies the specified user has access to.
  • LookupProfile(var UserSettingsRec: Record "User Settings") + BC25: Allows the user to select the new profile for given User Settings
  • GetProfileName(UserSettingsRec: Record "User Settings"): Text + BC25: Gets a profile name for the given user settings.
  • UpdateUserSettings(NewUserSettings: Record "User Settings") + BC25 Δ BC26

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 9175 “User Settings Impl.” (11 calls: DisableLegacyActionBar → DisableLegacyActionBar, DisableTeachingTips → DisableTeachingTips, EnableLegacyActionBar → EnableLegacyActionBar, …)

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

Evidence 1 sources