The SetLocale
Web service calls the setLocale
method in the underlying atg.userprofiling.ProfileServices
implementation. This method attempts to set the locale of the user who is specified by the profile ID to the given value. Use the PropertyManager.localePropertyName
to specify the property where the locale is stored in your profile repository configuration.
The setLocale
method acts as follows:
Checks that the given
pProfileId
resolves to a valid profile.If the locale property exists, sets the locale property of the given user to
pLocaleName
.If the user whose locale is being changed is also the user associated with the current session, the
RequestLocale
component is also changed to reflect the new locale.