Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Konstantin Netkachev
How to get all users of User Group in portlet
25 de Março de 2011 03:01
Resposta

Konstantin Netkachev

Ranking: New Member

Mensagens: 16

Data de entrada: 9 de Março de 2011

Mensagens 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?
Amos Fong
RE: How to get all users of User Group in portlet
28 de Março de 2011 02:50
Resposta

Amos Fong

LIFERAY STAFF

Ranking: Liferay Legend

Mensagens: 1912

Data de entrada: 7 de Outubro de 2008

Mensagens 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.
Konstantin Netkachev
RE: How to get all users of User Group in portlet
28 de Março de 2011 08:01
Resposta

Konstantin Netkachev

Ranking: New Member

Mensagens: 16

Data de entrada: 9 de Março de 2011

Mensagens recentes

Thanks!
Mazhar Alam
RE: How to get all users of User Group in portlet
20 de Setembro de 2012 00:10
Resposta

Mazhar Alam

Ranking: Regular Member

Mensagens: 201

Data de entrada: 25 de Novembro de 2011

Mensagens recentes

http://www.liferay.com/community/forums/-/message_boards/message/16551298