cancel
Showing results for 
Search instead for 
Did you mean: 

Personservice

blackjack
Champ in-the-making
Champ in-the-making
Hello all,

I have a very simple question. How can i get, if a person exist by another parameters then username.
For example i added a property to the person modell, it called namecode.

I found this PersonService.personExists(java.lang.String username).

Can i call this another parameter?

Thanks for your replies!
1 REPLY 1

dgenard
Champ on-the-rise
Champ on-the-rise
Try a lucene search like :
+TYPE:"cm:person" +@prefix\:namecode:"value"
More details on http://wiki.alfresco.com/wiki/Search

Denis