Gets a collection of membership users where the user name contains the specified user name to match.
- nameToMatch
- Documentation for this section has not yet been entered.
A System.Web.Security.MembershipUserCollection that contains all users that match the usernameToMatch parameter.
Leading and trailing spaces are trimmed from the usernameToMatch parameter value.
SqlMembershipProvider.FindUsersByName(string, int, int, Int32@) returns a list of membership users where the user name matches the supplied usernameToMatch for the configured applicationName.
The System.Web.Security.SqlMembershipProvider performs its search using a LIKE clause against the usernameToMatch parameter. Any wildcards that are supported by SQL Server in LIKE clauses can be used in the usernameToMatch parameter value.
Leading and trailing spaces are trimmed from all parameter values.