Fórum
How to get all users of User Group in portlet
Konstantin Netkachev, modificado 13 Anos atrás.
How to get all users of User Group in portlet
New Member Postagens: 16 Data de Entrada: 09/03/11 Postagens Recentes
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, modificado 13 Anos atrás.
RE: How to get all users of User Group in portlet
Liferay Legend Postagens: 2047 Data de Entrada: 07/10/08 Postagens Recentes
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, modificado 13 Anos atrás.
RE: How to get all users of User Group in portlet
New Member Postagens: 16 Data de Entrada: 09/03/11 Postagens Recentes
Thanks!
Mazhar Alam, modificado 11 Anos atrás.
RE: How to get all users of User Group in portlet
Regular Member Postagens: 191 Data de Entrada: 25/11/11 Postagens Recentes
http://www.liferay.com/community/forums/-/message_boards/message/16551298