Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Sandip Patel
how to get users associate with Team in Liferay6.1
September 23, 2012 11:45 AM

Sandip Patel

Rank: Regular Member

Posts: 195

Join Date: January 4, 2011

Recent Posts


I am currently using Liferay 6.1 ee sp2.

I want to get list of users associate with team???

In UserLocalServiceUtil i cant find such method!!!!!!1

Please help me on this..

Sandip Patel
Chintan Akhani
RE: how to get users associate with Team in Liferay6.1
January 15, 2013 8:23 AM

Chintan Akhani

Rank: Regular Member

Posts: 111

Join Date: March 13, 2008

Recent Posts

Hi Sandip,

I am working on LR 6.0 , so by using below provided code snippet, I would be able to get the team members.

LinkedHashMap<String, Object> userParams = new LinkedHashMap<String, Object>();
userParams.put("usersTeams", teamId);
List<User> teamUsers =, null, true, userParams,QueryUtil.ALL_POS, QueryUtil.ALL_POS, (OrderByComparator) null);


Participate in the State of Liferay Community 2017. Help the community and even win some prizes!