<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Doubt with api for creating user</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122416752" />
  <subtitle>Doubt with api for creating user</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122416752</id>
  <updated>2026-04-07T08:50:51Z</updated>
  <dc:date>2026-04-07T08:50:51Z</dc:date>
  <entry>
    <title>RE: Doubt with api for creating user</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122433259" />
    <author>
      <name>Marco Stimoli</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122433259</id>
    <updated>2024-03-05T16:39:15Z</updated>
    <published>2024-02-29T07:59:05Z</published>
    <summary type="html">&lt;p&gt;Hi Daniel,&lt;br&gt; What format do you want the language id in?&lt;br&gt; If you
  want it for example as &amp;quot;en_EN&amp;quot; you can use ThemeDisplay.&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;ThemeDisplay themeDisplay = (ThemeDisplay) request.getAttribute(WebKeys.THEME_DISPLAY);
Locale locale = themeDisplay.getLocale();&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Marco Stimoli</dc:creator>
    <dc:date>2024-02-29T07:59:05Z</dc:date>
  </entry>
  <entry>
    <title>Doubt with api for creating user</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122416751" />
    <author>
      <name>Daniel G</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122416751</id>
    <updated>2024-02-21T18:20:46Z</updated>
    <published>2024-02-21T16:43:40Z</published>
    <summary type="html">&lt;p&gt;  Hi all,&lt;/p&gt;
&lt;p&gt;I am trying to create an user from an object action
  calling headless-admin-user/v1.0/user-accounts. I can create the user
  sending the fields in the parameter, but the language id for the user
  is always the default one. Is there any way of specify the language id
  when create the user? Email than is sent when creation is needed to be
  sent in the language of the user&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Daniel G</dc:creator>
    <dc:date>2024-02-21T16:43:40Z</dc:date>
  </entry>
</feed>
