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