On 15/03/2012 04:29, Antony Pulicken wrote:
You are right. I could easily derive it from the example that you provided and it works. Thanks again !!

You're welcome :-)
Regards.

2012/3/14 Francesco Chicchiriccò <[email protected] <mailto:[email protected]>>

    On 14/03/2012 14:59, Antony Pulicken wrote:
    Thanks Francesco. Is it possible to search user just using the
    'Username' ? Do you have a test case for that ?

    You can absolutely search an user only by username.
    You could easily derive how from the example provided.
    Regards.


    2012/3/14 Francesco Chicchiriccò <[email protected]
    <mailto:[email protected]>>

        On 14/03/2012 13:58, Antony Pulicken wrote:
        Hi,

        I'm not able to search and retrieve the users based on
        'Username' in syncope-0.7.1. There are no records in
'user_search_attr' table where schema_name is 'Username'. I'm able to search on other attributes like firstname,
        surname, email and other custom attributes that I created.
        Please let us know your thoughts.

        Hi Antony,
        please take a look at [1] (take out from 0.7.1 integration
        tests) searchByUsernameAndId() that's doing what you want.

        Regards.

        [1]
        
https://syncope.googlecode.com/svn/tags/syncope-0.7.1/core/src/test/java/org/syncope/core/rest/UserTestITCase.java

--
Francesco Chicchiriccò

Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/

Reply via email to