Codeunit "Conf./Personalization Mgt."

ID 9170
Namespace: System.Environment.Configuration

Properties

Name Value
SingleInstance True
InherentEntitlements X
InherentPermissions X
Permissions tabledata "User Personalization" = r, tabledata "All Profile" = r

Methods

DefaultRoleCenterID

procedure DefaultRoleCenterID(): Integer

Returns

Type Description
Integer

GetCurrentProfile

procedure GetCurrentProfile(var AllProfile: Record "All Profile")

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

GetCurrentProfileNoError

procedure GetCurrentProfileNoError(var AllProfile: Record "All Profile"): Boolean

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

Returns

Type Description
Boolean

TryGetDefaultProfileForCurrentUser

[TryFunction]
procedure TryGetDefaultProfileForCurrentUser(var AllProfile: Record "All Profile"): Boolean

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

Returns

Type Description
Boolean

IsCurrentProfile

procedure IsCurrentProfile(Scope: Option, AppID: Guid, ProfileID: Code[30]): Boolean

Parameters

Name Type Description
Scope Option
AppID Guid
ProfileID Code[30]

Returns

Type Description
Boolean

SetCurrentProfile

procedure SetCurrentProfile(AllProfile: Record "All Profile")

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

CopyProfileWithUserInput

procedure CopyProfileWithUserInput(SourceAllProfile: Record "All Profile", var DestinationAllProfile: Record "All Profile")

Parameters

Name Type Description
SourceAllProfile Table System.Reflection."All Profile"
DestinationAllProfile Table System.Reflection."All Profile"

CopyProfile

procedure CopyProfile(AllProfile: Record "All Profile", NewProfileID: Code[30], NewProfileCaption: Text[100], var NewAllProfile: Record "All Profile")

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"
NewProfileID Code[30]
NewProfileCaption Text[100]
NewAllProfile Table System.Reflection."All Profile"

ClearProfileConfiguration

procedure ClearProfileConfiguration(AllProfile: Record "All Profile")

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

ClearPersonalizedPagesForUser

procedure ClearPersonalizedPagesForUser(UserSid: Guid)

Parameters

Name Type Description
UserSid Guid

ValidateDeleteProfile

procedure ValidateDeleteProfile(AllProfile: Record "All Profile")

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

ValidateDisableProfile

procedure ValidateDisableProfile(AllProfile: Record "All Profile")

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

FilterToInstalledLanguages

procedure FilterToInstalledLanguages(var WindowsLanguage: Record "Windows Language")

Parameters

Name Type Description
WindowsLanguage Table System.Globalization."Windows Language"

DownloadProfileConfigurationPackage

procedure DownloadProfileConfigurationPackage()

RaiseOnOpenRoleCenterEvent

procedure RaiseOnOpenRoleCenterEvent()

GetProfileConfigurationUrlForWeb

procedure GetProfileConfigurationUrlForWeb(AllProfile: Record "All Profile"): Text

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

Returns

Type Description
Text

CanDeleteProfile

procedure CanDeleteProfile(AllProfile: Record "All Profile"): Boolean

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

Returns

Type Description
Boolean

GetProfileUrlParameterForEvaluationCompany

procedure GetProfileUrlParameterForEvaluationCompany(): Text

Returns

Type Description
Text

OpenProfileCustomizationUrl

procedure OpenProfileCustomizationUrl(AllProfile: Record "All Profile")

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

IsProfileIdAmbiguous

procedure IsProfileIdAmbiguous(AllProfile: Record "All Profile"): Boolean

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"

Returns

Type Description
Boolean

Events

OnProfileChanged

[IntegrationEvent(False,False)]
local procedure OnProfileChanged(PrevAllProfile: Record "All Profile", CurrentAllProfile: Record "All Profile")

Parameters

Name Type Description
PrevAllProfile Table System.Reflection."All Profile"
CurrentAllProfile Table System.Reflection."All Profile"

OnAfterCopyProfile

[IntegrationEvent(False,False)]
local procedure OnAfterCopyProfile(var AllProfile: Record "All Profile", NewAllProfile: Record "All Profile")

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"
NewAllProfile Table System.Reflection."All Profile"

OnAfterGetDefaultRoleCenter

[IntegrationEvent(False,False)]
local procedure OnAfterGetDefaultRoleCenter(var DefaultRoleCenterID: Integer)

Parameters

Name Type Description
DefaultRoleCenterID Integer

OnRoleCenterOpen

[IntegrationEvent(False,False)]
local procedure OnRoleCenterOpen()

OnBeforeValidateDeleteProfile

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateDeleteProfile(AllProfile: Record "All Profile", var IsHandled: Boolean)

Parameters

Name Type Description
AllProfile Table System.Reflection."All Profile"
IsHandled Boolean

See also