掲示板

How to get Users from the userGroups

10年前 に Raghu teja によって更新されました。

How to get Users from the userGroups

Junior Member 投稿: 61 参加年月日: 11/03/10 最新の投稿
Hi ,

I Need to get the List of Users from the array of userGroups.

i..e.. If we Pass an array or list of UserGroupsIds , we need to get the List of users belonging to the UserGroups. Do we have any Method in Liferay?
thumbnail
10年前 に sushil patidar によって更新されました。

RE: How to get Users from the userGroups

Expert 投稿: 467 参加年月日: 11/10/31 最新の投稿
Hi,
you can get UserGroup users using the following method.
List<user> com.liferay.portal.service.UserLocalServiceUtil.getUserGroupUsers(long userGroupId) </user>


Regards
10年前 に Raghu teja によって更新されました。

RE: How to get Users from the userGroups

Junior Member 投稿: 61 参加年月日: 11/03/10 最新の投稿
Hi Sushil,

Thanks for the reply

Here we can pass only one userGroupId , I Need to pass an array of UserGroupIds!!! Do we have any method like that
thumbnail
10年前 に Ritesh Gajera によって更新されました。

RE: How to get Users from the userGroups

Junior Member 投稿: 66 参加年月日: 12/02/21 最新の投稿
https://www.liferay.com/community/forums/-/message_boards/message/16551298
10年前 に Raghu teja によって更新されました。

RE: How to get Users from the userGroups

Junior Member 投稿: 61 参加年月日: 11/03/10 最新の投稿
Hi Ritesh ,
Thanks for the reply,

I have Gone through the link .
But there are passing only one userGroup but i need to pass an array of userGroups ids.