<?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>Liferay 7.3 restricting user creation based on email domain</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121074261" />
  <subtitle>Liferay 7.3 restricting user creation based on email domain</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121074261</id>
  <updated>2026-06-20T09:41:12Z</updated>
  <dc:date>2026-06-20T09:41:12Z</dc:date>
  <entry>
    <title>RE: Liferay 7.3 restricting user creation based on email domain</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121079368" />
    <author>
      <name>Jay Trivedi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121079368</id>
    <updated>2021-08-27T15:46:26Z</updated>
    <published>2021-08-27T15:00:20Z</published>
    <summary type="html">&lt;p&gt;Hi Olaf,&lt;/p&gt;
&lt;p&gt;I tried service wrapper for solution an it worked. &lt;/p&gt;
&lt;p&gt;Thanks for helping.&lt;/p&gt;</summary>
    <dc:creator>Jay Trivedi</dc:creator>
    <dc:date>2021-08-27T15:00:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 restricting user creation based on email domain</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121075607" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121075607</id>
    <updated>2021-08-26T07:16:22Z</updated>
    <published>2021-08-26T07:16:21Z</published>
    <summary type="html">&lt;p&gt;Workflow comes to my mind, where you can automate a step by checking
  for a user's email domain.&lt;/p&gt;
&lt;p&gt;Alternatively a ServiceWrapper for UserLocalService that prevents the
  user from being created.&lt;/p&gt;
&lt;p&gt;In both cases I'm not sure of the way the blocking is reported to the
  user - if you want to give them a proper human readable notification,
  you might need some extra UI work that detects these conditions and
  displays a proper error message.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2021-08-26T07:16:21Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.3 restricting user creation based on email domain</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121074260" />
    <author>
      <name>Jay Trivedi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121074260</id>
    <updated>2021-08-27T15:48:57Z</updated>
    <published>2021-08-25T18:12:00Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In liferay 7.3, if we want to restrict user creation based on email
  domain ex. Users with @gmail should not be created in portal, is this
  problem statement achieveable by any oob property. Currently in 7.0 
  we are using hooks to handle this part. But i am still looking for amy
  configuration, if available in 7.3&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jay&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Jay Trivedi</dc:creator>
    <dc:date>2021-08-25T18:12:00Z</dc:date>
  </entry>
</feed>
