public override MembershipUserCollection GetAllUsers(int pageIndex, int pageSize, out int totalRecords)
        {
            totalRecords = 0;
            MembershipUserCollection users = new MembershipUserCollection();
            using (Database db = new MySqlDatabase())
            {
                totalRecords = db.GetUserCount(_applicationName);
                if (totalRecords <= 0)
                    return users;

                users = db.GetAllUsers(Name, _applicationName, pageIndex, pageSize);
            }

            return users;
        }