AnsweredAssumed Answered

Is there any difference between SiteService methods listSites and findSites

Question asked by mbel on Nov 14, 2016
Latest reply on Nov 14, 2016 by afaust


Could someone explain if there is any difference between the listSites and findSites methods in SiteService when I want to list ALL sites:

List<SiteInfo> listSites = this.siteService.listSites(null, null);

List<SiteInfo> findSites = this.siteService.findSites("*", 0);


Is it possible findSites not to return sometimes all sites?

I used that method but when I created a new Site programatically before calling that method, it doesn't find it at all.

Is it possible the result between listSites and findSites to be different in the above example?


Thank you in advance.