AnsweredAssumed Answered

How to get All user  by group id ?

Question asked by dharmraj on Jul 11, 2019
Latest reply on Jul 11, 2019 by abhinavmishra14_alfresco

TYPE_CU  this group i have created and added one user .

but i am not getting user.

there is any api  to get direct user node using serviceRegistry.getAuthorityService()

Set<String> person = serviceRegistry.getAuthorityService().getContainedAuthorities(null, "TYPE_CU", true);
for(String username : person) {;
      NodeRef node = serviceRegistry.getPersonService().getPerson(username);;


i want to get all user with properties and value based on group id .