Gets a collection of membership users where the user name contains the specified user name to match.
A MembershipUserCollection that contains a page of pageSizeMembershipUser objects beginning at the page specified by pageIndex.
Wildcards such as asterisks, question, percent, underscore marks can be used in the usernameToMatch parameter value.
Exception Type | Condition |
---|---|
ArgumentException | usernameToMatch is longer than 64 characters. -or - pageIndex is less than 0.-or - pageSize is less than 1.-or - pageSize multiplied by pageIndex, plus pageSize, minus 1 is greater than MaxValue |
VGMemberShipProvider Class | Novalys.VisualGuard.Security.WebForm Namespace