Dude, this question is a total no-brainer. It's clearly B) UserLocalServiceUtil.getSiteUsers(). What, you think the site is gonna magically summon the users or something?
C) UserLocalServiceUtil.getGroupUsers() is the way to go. I mean, why would we need to get users from a site when we can get them from the group? Seems more efficient.
D) SiteLocalServiceUtil.getGroupUsers() seems like the right choice. Why would we need to retrieve users from the UserLocalServiceUtil when we can get them directly from the site?
I think the correct answer is B) UserLocalServiceUtil.getSiteUsers(). It makes sense to retrieve site users directly from the UserLocalServiceUtil class.
Raina
1 months agoAlona
20 hours agoCarlee
6 days agoWeldon
8 days agoAlishia
10 days agoLajuana
17 days agoNichelle
2 months agoDominga
5 days agoDeeanna
6 days agoRenato
18 days agoVannessa
22 days agoMitsue
2 months agoJulian
2 months agoDalene
2 months agoGerardo
27 days agoIlda
29 days agoPedro
2 months agoGertude
2 months agoDonte
2 months agoSheron
1 months agoShonda
2 months agoNikita
2 months agoErnest
2 months agoTammi
2 months agoCarmela
2 months ago