public Set<String> getContainedAuthorities(AuthorityType type, String name, boolean immediate);
The former method can provide a paging result as needed, but not for a specific group only, and the latter can provide the users for a specific group but not as a paging result. Is there a way in which I can get the combined functionality of these two methods, i.e. get the users in a given group as a paging result?
Thank you for your reply and your suggestion. Unfortunately, I do not think that it will work in my case due to performance issues. Some of the groups in my Alfresco system have a large number of users (~1500), so the call to getContainedAuthorities will be the bottleneck, i.e. this call will probably be the time consuming part of the processing. But I will investigate your idea further - otherwise I will have to make some more low-level calls to Alfresco - maybe make a call to the DB directly instead of using the AuthorityService. I can also see that there is an AuthoityDAO interface which may be of use.