Search user by attribute (for example waveset.osobni_cislo)

Is it possible to rewrite this rule to searching users by attribute osobni_cislo (or fullname) , for me it works only for name and lastname:

<Rule name='getPSUsers'>

<RuleArgument name='full'>

<Comments>The fullname of a user</Comments>

</RuleArgument>

<RunAsUser>

<ObjectRef type='User' id='#ID#Configurator' name='Configurator'/>

</RunAsUser>

<block trace='true'>

<ref>context</ref>

<invoke name='getUsers' class='com.waveset.ui.FormUtil'>

<ref>context</ref>

<map>

<s>conditions</s>

<list>

<new class='com.waveset.object.AttributeCondition'>

<s>lastname</s>

<s>contains</s>

<ref>full</ref>

</new>

</list>

</map>

</invoke>

</block>

</Rule>

[1262 byte] By [poslusnya] at [2007-11-27 5:23:44]
# 1

You need to edit the UserUIConfig to make that a queryable attribute. You may also want it to be in the list of indexed attributes.

Read the comments in the UserUIConfig object, and search the standard documentation for:

UserUIConfig

QueryableAttrNames

RepoIndexAttrs

Cheers,

- Simon

Floccinaucinihilipilificatio at 2007-7-12 11:49:42 > top of Java-index,Web & Directory Servers,Directory Servers...