Using Lucene search to find all user nodes in Alfresco.

Login to alfresco. Goto Administration console / Nodebrowser.
Select Lucene in the dropdown box @ search

Enter this query :

PATH:”/app:company_home/app:user_homes/*”

Results in all directories in the user_homes. As far as I know this should be equal to the users in the system. Note that this does not include the alfresco admin user. This has Company Home as ‘user-home’

The above code skipped users guest and admin. I decided to use this query:

TYPE:”cm:person”

This also gives admin and guest accounts and seems more natural to use.

Advertenties

Geef een reactie

Vul je gegevens in of klik op een icoon om in te loggen.

WordPress.com logo

Je reageert onder je WordPress.com account. Log uit / Bijwerken )

Twitter-afbeelding

Je reageert onder je Twitter account. Log uit / Bijwerken )

Facebook foto

Je reageert onder je Facebook account. Log uit / Bijwerken )

Google+ photo

Je reageert onder je Google+ account. Log uit / Bijwerken )

Verbinden met %s