Laliwala IT Services

Laliwala IT Services
Website Development

Sunday, February 20, 2011

how to get ALL portal users?

































































































Pascal Wasem :

how to get ALL portal users?
all users
Hi!
How to retrieve ALL portal users in a portlet class?
I need to iterate over them.
Thank you!
Best,
Pascal
Mazhar Anwar : You can use com.liferay.portal.service.UserLocalServiceUtil.getUser(int start, int end);
It will give you List of User what you can iterate.
for the value of start you can give 0 and for end maximum number of users.

No comments:

Post a Comment