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