Results 1 to 2 of 2

Thread: Search "starts with"

  1. #1
    Join Date
    Jun 2008
    Posts
    4

    Default Search "starts with"

    Hi members,

    I want to make search of users which the Login ID starts with "xx".
    I am using spring ldap and my code is like this :

    andFilter.and(new EqualsFilter(MainConstants.UID, user.getLoginId() + "*"));

    But it did not work. Anyone can help?
    Thanks in advance.

    Helmi

  2. #2
    Join Date
    Jun 2008
    Posts
    4

    Default

    Hi guys,

    Finally I found the solution, using LikeFilter.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •