---
id: object/codeunit/9175
type: object
title: Codeunit 9175 "User Settings Impl."
summary: Codeunit 9175 "User Settings Impl." in System Application (System.Environment.Configuration). 33 public procedures, 3 event subscribers. Present since at least BC23, still in BC30, changed in BC24-25, BC27.
tier: official
language: en
tags:
  - codeunit
  - system application
versions:
  introduced: null
  last_changed: "27"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 4869dd4bbb671ff182b89cef0c39bac1e740347a2fc321e4ddff6e17867fcffe
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/User%20Settings/src/UserSettingsImpl.Codeunit.al
    title: src/System Application/App/User Settings/src/UserSettingsImpl.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 9175
name: User Settings Impl.
namespace: System.Environment.Configuration
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 39
  events: 0
  subscribers: 3
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 9
  called_by: 7
  implements: 0
---

# Codeunit 9175 "User Settings Impl."

> Codeunit 9175 "User Settings Impl." in System Application (System.Environment.Configuration). 33 public procedures, 3 event subscribers. Present since at least BC23, still in BC30, changed in BC24-25, BC27.

System Application · System.Environment.Configuration · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/User%20Settings/src/UserSettingsImpl.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata "All Profile" = r, tabledata Company = r, tabledata "Application User Settings" = rim, tabledata User = r, tabledata "User Personalization" = rim |

## Event subscriptions

- CheckIfUserCalloutsAreEnabled subscribes to Codeunit "System Action Triggers" GetAutoStartTours
- OpenSettings subscribes to Codeunit "System Action Triggers" OpenSettings
- GetIsLegacyActionBarEnabled subscribes to Codeunit "System Action Triggers" GetIsLegacyActionBarEnabled

## Procedures

- `GetPageId(): Integer`
- `GetLastLoginInfo(LastLoginDateTime: DateTime): Text`
- `GetProfileName(Scope: Option System,Tenant; AppID: Guid; ProfileID: Code[30]): Text`
- `ProfileLookup(var UserSettingsRec: Record "User Settings")`
- `PopulateProfiles(var TempAllProfile: Record "All Profile" temporary)`
- `GetUserSettings(UserSecurityID: Guid; var UserSettingsRec: Record "User Settings")`
- `RefreshUserSettings(var UserSettings: Record "User Settings")`
- `UpdateUserSettings(NewUserSettings: Record "User Settings")`
- `UpdateUserSettings(OldUserSettings: Record "User Settings"; NewUserSettings: Record "User Settings")`
- `GetCompanyDisplayName(CompanyName: Text[30]): Text[250]`
- `GetCompanyDisplayName(Company: Record Company): Text[250]`
- `GetAllUsersSettings(var UserSettings: Record "User Settings")`
- `LookupCompanies(var CompanyName: Text[30])`
- `GetAllowedCompaniesForCurrentUser(var TempCompany: Record Company temporary)`
- `GetAllowedCompaniesForUser(UserSecurityId: Guid; var TempCompany: Record Company temporary)`
- `InitializePlatformSettings(UserSecurityID: Guid; var UserPersonalization: Record "User Personalization")`
- `InitializeAppSettings(UserSecurityID: Guid; var ApplicationUserSettings: Record "Application User Settings")`
- `GetAppSettings(UserSecurityID: Guid; var ApplicationUserSettings: Record "Application User Settings")`
- `GetPlatformSettings(UserSecurityID: Guid; var UserPersonalization: Record "User Personalization")`
- `GetUsersFullName(UserSecurityID: Guid): Text`
- `TeachingTipsEnabled(UserSecurityID: Guid): Boolean`
- `DisableTeachingTips(UserSecurityID: Guid)`
- `EnableTeachingTips(UserSecurityID: Guid)`
- `IsLegacyActionBarEnabled(UserSecurityID: Guid): Boolean`
- `DisableLegacyActionBar(UserSecurityID: Guid)`
- `EnableLegacyActionBar(UserSecurityID: Guid)`
- `OpenUserSettings(UserSecurityID: Guid)`
- `HideExternalUsers(var UserPersonalization: Record "User Personalization")`
- `HideUsersDependingOnPermissions(var UserPersonalization: Record "User Personalization")`: Ensure that users can only see their own personalizations, unless they have the permission to manage users on the tenant.
- `CheckPermissions(var UserSettings: Record "User Settings")`
- `CheckPermissions(var UserPersonalization: Record "User Personalization")`
- `EditUserID(var UserPersonalization: Record "User Personalization"): Boolean`
- `EditProfileID(var UserPersonalization: Record "User Personalization")` (internal)

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.

- [Page extension 9204 "User Settings"](../pageextension/9204.md) (4 calls: `GetPageId → (object)`, `GetUserSettings → (object)`, `LookupCompanies → (object)`, …)
- [Codeunit 457 "Environment Information"](../codeunit/457.md) (3 calls: `CheckPermissionsInternal → IsOnPrem`, `CheckPermissionsInternal → IsSaaSInfrastructure`, `HideExternalUsers → IsSaaS`)
- [Codeunit 152 "User Permissions"](../codeunit/152.md) (2 calls: `CheckPermissionsInternal → IsSuper`, `HideUsersDependingOnPermissions → CanManageUsersOnTenant`)
- [Codeunit 2300 "Tenant License State"](../codeunit/2300.md) (2 calls: `UpdateCurrentUsersSettings → IsEvaluationMode`, `UpdateCurrentUsersSettings → IsTrialMode`)
- [Codeunit 9024 "Azure AD Graph User"](../codeunit/9024.md) (2 calls: `CheckPermissionsInternal → IsUserDelegatedAdmin`, `CheckPermissionsInternal → IsUserDelegatedHelpdesk`)
- [Codeunit 9843 "User Selection"](../codeunit/9843.md) (2 calls: `EditUserID → Open`, `GetAllUsersSettings → HideExternalUsers`)
- [Page 9212 "Roles"](../page/9212.md) (2 calls: `EditProfileID → (object)`, `ProfileLookup → (object)`)
- [Codeunit 9010 "Azure AD User Management"](../codeunit/9010.md) (1 call: `CheckPermissionsInternal → IsUserTenantAdmin`)
- [Codeunit 9026 "User Login Time Tracker"](../codeunit/9026.md) (1 call: `GetUserSettings → GetPenultimateLoginDateTime`)

## Called by

- [Codeunit 9176 "User Settings"](../codeunit/9176.md) (11 calls: `DisableLegacyActionBar → DisableLegacyActionBar`, `DisableTeachingTips → DisableTeachingTips`, `EnableLegacyActionBar → EnableLegacyActionBar`, …)
- [Page 9214 "User Personalization"](../page/9214.md) (4 calls: `OnAfterGetCurrRecord → IsLegacyActionBarEnabled`, `OnAfterGetCurrRecord → TeachingTipsEnabled`, `OnOpenPage → HideExternalUsers`, …)
- [Page 9204 "User Settings"](../page/9204.md) (3 calls: `OnOpenPage → GetLastLoginInfo`, `OnOpenPage → GetUserSettings`, `OnQueryClosePage → UpdateUserSettings`)
- [Page 9206 "User Settings List"](../page/9206.md) (2 calls: `OnOpenPage → HideExternalUsers`, `OnOpenPage → HideUsersDependingOnPermissions`)
- [Page 9208 "User Settings FactBox"](../page/9208.md) (1 call: `OnInit → GetAllUsersSettings`)
- [Page 9210 "Accessible Companies"](../page/9210.md) (1 call: `Initialize → GetAllowedCompaniesForCurrentUser`)
- [Page 9212 "Roles"](../page/9212.md) (1 call: `Initialize → PopulateProfiles`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25, BC27

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