public int CountUsersByName( string searchPattern, NameSearchField searchField )
Parameters
- searchPattern
- The search pattern to check against the user table.
- searchField
- The name field to check against the search pattern.
Return Value
The number of users that match the search.