掲示板
How to get all users of User Group in portlet
13年前 に Konstantin Netkachev によって更新されました。
How to get all users of User Group in portlet
New Member 投稿: 16 参加年月日: 11/03/09 最新の投稿
Hello, I try to get all users list of the User Group in portlet.
UserServiceImpl has method getGroupUserIds(long groupId), but in this case search processes by groups of the GROUP_ table. What difference between GROUP_ and USERGROUP?
And how to retrieve users by USERGROUP?
UserServiceImpl has method getGroupUserIds(long groupId), but in this case search processes by groups of the GROUP_ table. What difference between GROUP_ and USERGROUP?
And how to retrieve users by USERGROUP?
13年前 に Amos Fong によって更新されました。
RE: How to get all users of User Group in portlet
Liferay Legend 投稿: 2047 参加年月日: 08/10/07 最新の投稿
Hi Konstantin,
In the code, group is the same thing as a community. Depending on what you are doing, you should probably user UserLocalSErviceImpl because it does not check permissions for the current user. Also it should have the getusergroupusers() method you need.
In the code, group is the same thing as a community. Depending on what you are doing, you should probably user UserLocalSErviceImpl because it does not check permissions for the current user. Also it should have the getusergroupusers() method you need.
13年前 に Konstantin Netkachev によって更新されました。
RE: How to get all users of User Group in portlet
New Member 投稿: 16 参加年月日: 11/03/09 最新の投稿
Thanks!
11年前 に Mazhar Alam によって更新されました。
RE: How to get all users of User Group in portlet
Regular Member 投稿: 191 参加年月日: 11/11/25 最新の投稿
http://www.liferay.com/community/forums/-/message_boards/message/16551298