Add User Programmatically to siteAdd User Programmatically to sitehttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1203939802024-03-29T10:15:01Z2024-03-29T10:15:01ZRE: Add User Programmatically to siteMohammed Yasinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1203973352020-11-03T11:34:55Z2020-11-03T11:34:55Z<p>Hi ,</p>
<p>You can add user to specific site by below service.</p>
<p> GroupLocalService.addUserGroup(userId, groupId);</p>
<p>You can provide groupid of the site and userid which u want to
associate site with. </p>Mohammed Yasin2020-11-03T11:34:55ZAdd User Programmatically to siteSanat Dhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1203939792020-11-02T18:56:44Z2020-11-02T12:36:08Z<p>I wanted to add user programmatically to the site. I search on the
internet and got so many blogs regarding adding users but none of them
I completely understand. So can anyone have an idea about how to add
User or please provide a link to the blog where I can get al