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
5 months agoCathrine
3 months agoAlona
4 months agoCarlee
4 months agoWeldon
4 months agoAlishia
4 months agoLajuana
4 months agoNichelle
5 months agoDominga
4 months agoDeeanna
4 months agoRenato
4 months agoVannessa
4 months agoMitsue
5 months agoJulian
5 months agoDalene
5 months agoGerardo
4 months agoIlda
4 months agoPedro
5 months agoGertude
5 months agoDonte
6 months agoSheron
5 months agoShonda
5 months agoNikita
6 months agoErnest
5 months agoTammi
5 months agoCarmela
5 months ago