public IList<User> FindUsersByName( string searchPattern, NameSearchField searchField, bool includeAnonymous, 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.
- includeAnonymous
- If true then the search results will include anonymous users as well
- 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