Search members in more groups

cancel
Showing results for 
Search instead for 
Did you mean: 
pdovhomilja
Partner

Search members in more groups

Hello,

i have groups "GROUP_Members_A", "GROUP_Members_B" and "Groups_Members_C". It is posible to search members starting with name "Po" of all this groups using "GROUP_Member_*"?.

Thanks for an advice

6 Replies
angelborroy
Alfresco Employee

Re: Search members in more groups

If you are working on an Angular app, I guess the best approach is to load all the Groups and Members in memory and to perform search operations in the browser itself.

Hyland Developer Evangelist
pdovhomilja
Partner

Re: Search members in more groups

No i have own ReactJs application and custom backend which use Alfresco API. It isn't possible to search in groups using Search API or something similar?

angelborroy
Alfresco Employee

Re: Search members in more groups

In that case, I would recommend to use the Alfresco JavaScript client API:

https://github.com/Alfresco/alfresco-js-api

It's a NodeJS project, but it provides mainly all you can require in your ReactJS app.

Hyland Developer Evangelist
pdovhomilja
Partner

Re: Search members in more groups

Ok thank you and is possible to search members in only one group using pure search API and use LIKE "Po*" or something similar? To get only users starting with "Po". Thank you

angelborroy
Alfresco Employee

Re: Search members in more groups

I guess you can use the where condition in this API

https://api-explorer.alfresco.com/api-explorer/#!/groups/listGroupMemberships

Hyland Developer Evangelist
pdovhomilja
Partner

Re: Search members in more groups

Unfortunately, where condition doesn't work, there is no way how to get results using Search API and JOIN?