Codeunit 9176 "User Settings"
System Application · System.Environment.Configuration
Across versions
- BC23present
- BC242 procedures added
- BC253 procedures added
- BC261 procedures changed
- BC271 procedures added
- BC28-30unchanged
Neighbourhood 5 connected objects and pages
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.- subscribers: Codeunit 9170 “Conf./Personalization Mgt.” OnGetDefaultProfile
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.- subscribers: Codeunit 1438 “Ess. Bus. Headline Subscribers” OnBeforeUpdateUserSettings, Codeunit 9275 “My Settings” OnUpdateUserSettings
OnCompanyChange(NewCompanyName: Text; var IsSetupInProgress: Boolean)(integration): Integration event that fires every time the company is changed.- subscribers: Codeunit 1800 “Assisted Company Setup” OnCompanyChangeCheckForSetupCompletion
Procedures
GetPageId(): IntegerGetUserSettings(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 SettingsGetProfileName(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.