More in this section

Forums / General Discussions / Issue with LdapUsers based GetUsers method

Issue with LdapUsers based GetUsers method

1 posts, 0 answered
  1. Bob
    Bob avatar
    10 posts
    18 Apr 2012
    11 Jul 2013
    Link to this post
    The Sitefinity UserManager.GetUsers method is based on an IQueryable<User> interface, however, it seems that the implementation is not passing thru lambda or linq query parts like Where, OrderBy, etc and instead returning every row.  We are using the LdapUsers provider.  In order to apply any filter we must first cast the IQueryable to a ToList() like:

    var ul = userManager.GetUsers().ToList().Where...OrderBy...

    Please fix this so the GetUsers implementation fully implements the IQueryable interface and respects the filters, etc. (does not return every row).

    Thanks...Bob Baldwin
    Trabon Group
1 posts, 0 answered