Codeunit 9176 User Settings

System Application, System.Environment.Configuration

Source AL, 202 lines

src/System Application/App/User Settings/src/UserSettings.Codeunit.allines 14 to 29 of 202, Copyright (c) Microsoft Corporation. MIT

codeunit 9176 "User Settings"{    /// <summary>    /// Gets the page id for the User Settings page.    /// </summary>    /// <returns>The page ID for the User Settings page.</returns>    procedure GetPageId(): Integer    var        UserSettingsImpl: Codeunit "User Settings Impl.";    begin        exit(UserSettingsImpl.GetPageId());    end;    /// <summary>    /// Gets the settings for the given user.    /// </summary>

All 202 lines

Events 6 in 29

[IntegrationEvent] OnGetDefaultProfile(var AllProfile: Record "All Profile")new in 19
[IntegrationEvent] OnGetSettingsPageID(var SettingsPageID: Integer)new in 19
[IntegrationEvent] OnBeforeOpenSettings(var Handled: Boolean)new in 19
[IntegrationEvent] OnAfterGetUserSettings(var UserSettings: Record "User Settings")new in 19
[IntegrationEvent] OnUpdateUserSettings(OldSettings: Record "User Settings"; NewSettings: Record "User Settings")new in 19
[IntegrationEvent] OnCompanyChange(NewCompanyName: Text; var IsSetupInProgress: Boolean)new in 19

All 10 events in 19-29

Public procedures 11 in 29

GetPageId(): Integernew in 19
GetUserSettings(UserSecurityID: Guid; var UserSettings: Record "User Settings")new in 19
DisableTeachingTips(UserSecurityId: Guid)new in 19
EnableTeachingTips(UserSecurityId: Guid)new in 19
GetAllowedCompaniesForCurrentUser(var TempCompany: Record Company temporary)new in 22
DisableLegacyActionBar(UserSecurityId: Guid)new in 24

All 12 procedures in 19-29

Changes 1 in 27

List17181920212223242526272829
Procedures12321
Events4
GetAllowedCompaniesForUser(UserSecurityId: Guid; var TempCompany: Record Company temporary)new in 27
added

All 13 changes in 19-29