public static MembershipUserCollection FindUsersByName(string usernameToMatch, int pageIndex, int pageSize, out int totalRecords) { SecUtility.CheckParameter(ref usernameToMatch, true, true, false, 0, "usernameToMatch"); if (pageIndex < 0) { throw new ArgumentException(SR.GetString(SR.PageIndex_bad), "pageIndex"); } if (pageSize < 1) { throw new ArgumentException(SR.GetString(SR.PageSize_bad), "pageSize"); } return(Provider.FindUsersByName(usernameToMatch, pageIndex, pageSize, out totalRecords)); }
public static MembershipUserCollection FindUsersByName(string usernameToMatch) { SecUtility.CheckParameter(ref usernameToMatch, true, true, false, 0, "usernameToMatch"); int totalRecords = 0; return(Provider.FindUsersByName(usernameToMatch, 0, 0x7fffffff, out totalRecords)); }
public static MembershipUserCollection FindUsersByName(string usernameToMatch, int pageIndex, int pageSize, out int totalRecords) { return(Provider.FindUsersByName(usernameToMatch, pageIndex, pageSize, out totalRecords)); }
public static MembershipUserCollection FindUsersByName(string usernameToMatch) { int totalRecords; return(Provider.FindUsersByName(usernameToMatch, 0, int.MaxValue, out totalRecords)); }