IList<User> FindUsersByName( string searchPattern, NameSearchField searchField, bool includeAnonymous )
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
Return Value
A collection of User objects matching the search criteria