Fórumok
How to get all users of User Group in portlet
Konstantin Netkachev, módosítva 13 év-val korábban
How to get all users of User Group in portlet
New Member Bejegyzések: 16 Csatlakozás dátuma: 2011.03.09. Legújabb bejegyzések
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, módosítva 13 év-val korábban
RE: How to get all users of User Group in portlet
Liferay Legend Bejegyzések: 2047 Csatlakozás dátuma: 2008.10.07. Legújabb bejegyzések
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, módosítva 13 év-val korábban
RE: How to get all users of User Group in portlet
New Member Bejegyzések: 16 Csatlakozás dátuma: 2011.03.09. Legújabb bejegyzések
Thanks!
Mazhar Alam, módosítva 11 év-val korábban
RE: How to get all users of User Group in portlet
Regular Member Bejegyzések: 191 Csatlakozás dátuma: 2011.11.25. Legújabb bejegyzések
http://www.liferay.com/community/forums/-/message_boards/message/16551298