public IList<User> FindUsersByName( string searchPattern, NameSearchField searchField, string sortExpression )
Parameters
- searchPattern
- The search pattern to check against the user table.
- searchField
- The name field to check against the search pattern.
- sortExpression
- The sort expression to use for sorting the loaded objects.
Return Value
A collection of User objects matching the search criteria