Forum Discussion
PaoloT
11 years agoLithium Alumni (Retired)
Hi heavenerp
is this for a front-end custom component? If so - have you considered using an Endpoint which uses an elevated privilege rest call (using restadmin) and then sets to the desired value?
Of course - you would want to make sure that you do appropriate checks (such as for example, is the endpoint trying to set the profile language for the same user currently logged in? or is the language value a valid one? etc...) because of the usage of restadmin - which requires extra care.
Thanks,
Related Content
- 2 months ago
- 10 years ago