How to assign site membership to user groupHow to assign site membership to user grouphttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=889990712024-03-28T21:24:04Z2024-03-28T21:24:04ZRE: How to assign site membership to user groupLina Mariahttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=909348052017-06-21T14:32:31Z2017-06-21T14:32:31ZHi everyone, <br />I am running into an issue and I am not sure if it is a bug.<br /><br />I am assigning a user group to "SiteA". I then assign "role1" for that user group for that site. <br />I add "test user" to the user group. <br /><br />The test user shows up as a site member for "SiteA". However, when I look at the user profile through the control panel - "SiteA" does not show up in the inherited sites and "role1" is not assigned either. <br /><br />I then manually went to "SiteA" --> members and assigned "role1" to "Test user". <br /><br />The site now appears in "Test Users" inherited sites and the role is assigned. <br /><br />Am I missing a step? I am looking for a way that I can associate a site role to a site and not have to update the role manually for the users in that group.Lina Maria2017-06-21T14:32:31ZRE: How to assign site membership to user groupSandeep Nairhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=904792572017-06-09T14:53:51Z2017-06-09T14:53:51ZGo to Site Memberships for the Site where you are looking to do this change.. Select "User Groups" tab and assign user group you wish to associate.<br /><br />Regards,<br />SandeepSandeep Nair2017-06-09T14:53:51ZRE: How to assign site membership to user groupsanthosh kumarhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=892051762017-05-09T06:41:08Z2017-05-09T06:41:08Z<div class="quote-title">Olaf Kock:</div><blockquote><div class="quote-title">santhosh kumar:</div><blockquote>I am currently working on Liferay, I having a requirement How to assign site membership to user group?,<br />I created a blank site , and created a user group included several peoples . But How to assign site membership to user group?</blockquote><br /><br />You might need to use the API if there's no UI. A site is called Group in the API, the call you most likely need is groupLocalService.addUserGroupGroup(userGroupId, groupId);</blockquote><br /><br />Thanks for replay,<br />I need to do through adminsanthosh kumar2017-05-09T06:41:08ZRE: How to assign site membership to user groupOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=890138762017-05-03T13:38:16Z2017-05-03T13:38:16Z<div class="quote-title">santhosh kumar:</div><blockquote>I am currently working on Liferay, I having a requirement How to assign site membership to user group?,<br />I created a blank site , and created a user group included several peoples . But How to assign site membership to user group?</blockquote><br /><br />You might need to use the API if there's no UI. A site is called Group in the API, the call you most likely need is groupLocalService.addUserGroupGroup(userGroupId, groupId);Olaf Kock2017-05-03T13:38:16ZHow to assign site membership to user groupsanthosh kumarhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=889990702017-05-03T09:50:30Z2017-05-03T09:50:30ZH