AnsweredAssumed Answered

SearchService query string

Question asked by redbull on Sep 28, 2012
Latest reply on Oct 2, 2012 by andy
this is my actual query:

String queryStr = "@cm\:userName:phil*"
ResultSet resultSet = Repository.getServiceRegistry(context).getSearchService().query(Repository.getStoreRef(),
and it works well. It return all Alfresco users whose username begins with "phil" string.
Now I would modify the query string to add a further filter for a specific groupname.
Something like: 
AND groupname = writer
where "writer" is my groupname.
Is it possible?  How should I change the string?

Any hint would be appreciated…