Codeunit 9170 Conf./Personalization Mgt.

Base Application, System.Environment.Configuration

Source AL, 507 lines

src/Layers/W1/BaseApp/Modules/System/Profile/ConfPersonalizationMgt.Codeunit.allines 11 to 26 of 507, Copyright (c) Microsoft Corporation. MIT

codeunit 9170 "Conf./Personalization Mgt."{    SingleInstance = true;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata "User Personalization" = r,                  tabledata "All Profile" = r;    var        CurrentAllProfile: Record "All Profile";        CurrentAllProfileFetched: Boolean;        ProfileFound: Boolean;        BusinessManagerProfileIDTxt: Label 'BUSINESS MANAGER', Locked = true;        DeleteConfigurationChangesQst: Label 'This will delete all user-made customization changes for this profile. It will not clear the customizations coming from your extensions.\\Do you want to continue?';        DeletePersonalizationChangesQst: Label 'This will delete all personalization changes made by this user.  Do you want to continue?';        NoDisableProfileErr: Label 'You cannot disable the profile that is used as default.';

All 507 lines

Events 5 in 29

[IntegrationEvent] OnProfileChanged(PrevAllProfile: Record "All Profile"; CurrentAllProfile: Record "All Profile")17-29
[IntegrationEvent] OnAfterCopyProfile(var AllProfile: Record "All Profile"; NewAllProfile: Record "All Profile")17-29
[IntegrationEvent] OnAfterGetDefaultRoleCenter(var DefaultRoleCenterID: Integer)17-29
[IntegrationEvent] OnRoleCenterOpen()17-29
[IntegrationEvent] OnBeforeValidateDeleteProfile(AllProfile: Record "All Profile"; var IsHandled: Boolean)new in 20

All 6 events in 17-29

Public procedures 24 in 29

DefaultRoleCenterID(): Integer17-29
GetCurrentProfile(var AllProfile: Record "All Profile")17-29
GetCurrentProfileNoError(var AllProfile: Record "All Profile"): Boolean17-29
TryGetDefaultProfileForCurrentUser(var AllProfile: Record "All Profile"): Boolean17-29
IsCurrentProfile(Scope: Option; AppID: Guid; ProfileID: Code[30]): Boolean17-29
SetCurrentProfile(AllProfile: Record "All Profile")17-29

All 32 procedures in 17-29

Changes 1 in 27

List17181920212223242526272829
Procedures14741
Events111
GetDefaultProfileID(UserSecurityID: Guid; var AllProfile: Record "All Profile")new in 27
added

All 20 changes in 17-29