Foren
How to get all users of User Group in portlet
Konstantin Netkachev, geändert vor 13 Jahren.
How to get all users of User Group in portlet
New Member Beiträge: 16 Beitrittsdatum: 09.03.11 Neueste Beiträge
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?
Amos Fong, geändert vor 13 Jahren.
RE: How to get all users of User Group in portlet
Liferay Legend Beiträge: 2047 Beitrittsdatum: 07.10.08 Neueste Beiträge
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.
Konstantin Netkachev, geändert vor 13 Jahren.
RE: How to get all users of User Group in portlet
New Member Beiträge: 16 Beitrittsdatum: 09.03.11 Neueste Beiträge
Thanks!
Mazhar Alam, geändert vor 11 Jahren.
RE: How to get all users of User Group in portlet
Regular Member Beiträge: 191 Beitrittsdatum: 25.11.11 Neueste Beiträge
http://www.liferay.com/community/forums/-/message_boards/message/16551298