public IList<User> FindUsersByName( string searchPattern, NameSearchField searchField, int maximumRows, int startRowIndex, string sortExpression )
Parameters
- searchPattern
- The search pattern to check against the user table.
- searchField
- The name field to check against the search pattern.
- maximumRows
- Maximum number of rows to retrieve.
- startRowIndex
- Starting index from where to start retrieving.
- sortExpression
- The sort expression to use for sorting the loaded objects.
Return Value
A collection of User objects matching the search criteria