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
GetCurrentProfile
procedure GetCurrentProfile(var AllProfile: Record "All Profile")
Parameters
GetCurrentProfileNoError
procedure GetCurrentProfileNoError(var AllProfile: Record "All Profile"): Boolean
Parameters
Returns
TryGetDefaultProfileForCurrentUser
[TryFunction]
procedure TryGetDefaultProfileForCurrentUser(var AllProfile: Record "All Profile"): Boolean
Parameters
Returns
IsCurrentProfile
procedure IsCurrentProfile(Scope: Option, AppID: Guid, ProfileID: Code[30]): Boolean
Parameters
| Name |
Type |
Description |
|
Scope
|
Option
|
|
|
AppID
|
Guid
|
|
|
ProfileID
|
Code[30]
|
|
Returns
SetCurrentProfile
procedure SetCurrentProfile(AllProfile: Record "All Profile")
Parameters
procedure CopyProfileWithUserInput(SourceAllProfile: Record "All Profile", var DestinationAllProfile: Record "All Profile")
Parameters
CopyProfile
procedure CopyProfile(AllProfile: Record "All Profile", NewProfileID: Code[30], NewProfileCaption: Text[100], var NewAllProfile: Record "All Profile")
Parameters
ClearProfileConfiguration
procedure ClearProfileConfiguration(AllProfile: Record "All Profile")
Parameters
ClearPersonalizedPagesForUser
procedure ClearPersonalizedPagesForUser(UserSid: Guid)
Parameters
| Name |
Type |
Description |
|
UserSid
|
Guid
|
|
ValidateDeleteProfile
procedure ValidateDeleteProfile(AllProfile: Record "All Profile")
Parameters
ValidateDisableProfile
procedure ValidateDisableProfile(AllProfile: Record "All Profile")
Parameters
FilterToInstalledLanguages
procedure FilterToInstalledLanguages(var WindowsLanguage: Record "Windows Language")
Parameters
DownloadProfileConfigurationPackage
procedure DownloadProfileConfigurationPackage()
RaiseOnOpenRoleCenterEvent
procedure RaiseOnOpenRoleCenterEvent()
GetProfileConfigurationUrlForWeb
procedure GetProfileConfigurationUrlForWeb(AllProfile: Record "All Profile"): Text
Parameters
Returns
CanDeleteProfile
procedure CanDeleteProfile(AllProfile: Record "All Profile"): Boolean
Parameters
Returns
GetProfileUrlParameterForEvaluationCompany
procedure GetProfileUrlParameterForEvaluationCompany(): Text
Returns
OpenProfileCustomizationUrl
procedure OpenProfileCustomizationUrl(AllProfile: Record "All Profile")
Parameters
IsProfileIdAmbiguous
procedure IsProfileIdAmbiguous(AllProfile: Record "All Profile"): Boolean
Parameters
Returns
Events
OnProfileChanged
[IntegrationEvent(False,False)]
local procedure OnProfileChanged(PrevAllProfile: Record "All Profile", CurrentAllProfile: Record "All Profile")
Parameters
OnAfterCopyProfile
[IntegrationEvent(False,False)]
local procedure OnAfterCopyProfile(var AllProfile: Record "All Profile", NewAllProfile: Record "All Profile")
Parameters
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
See also