AnsweredAssumed Answered

Search All Groups

Question asked by emmy on Dec 17, 2007
Latest reply on Jan 13, 2008 by kevinr
I want search all groups in a web script.
This lucene search

return all results.

I have used AVM API

<#assign store = avm.lookupStore("alfrescoUserStore")>
<#assign groups = store.luceneSearch("TYPE:\"{}authorityContainer\"")>
but I have this error
avm.lookupStore("alfrescoUserStore") is undefined. It cannot be assigned to store

If I call

<#assign stores = avm.stores>
stores is empty.

How can I do this search?

Thanks in advance,