cancel
Showing results for 
Search instead for 
Did you mean: 

Search members in more groups

pdovhomilja
Champ on-the-rise
Champ on-the-rise

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 6

angelborroy
Community Manager Community Manager
Community Manager

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

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?

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

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

I guess you can use the where condition in this API

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

Hyland Developer Evangelist

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