def METHOD_NAME(username, human_readable):
    """Get username SAR data."""
    initialize_db(config.config)
    sar_data = {}
    try:
        user = models.User.query.filter_by(name=username).one()
    except sqlalchemy.orm.exc.NoResultFound:
        if human_readable:
            click.echo("User not found.", err=True)
        sys.exit(0)
    sar_data[user.name] = {}
    sar_data[user.name]['comments'] = [
        {'karma': c.karma, 'karma_critpath': c.karma_critpath, 'text': c.text,
         'timestamp': c.timestamp.strftime('%Y-%m-%d %H:%M:%S'),
         'update_alias': c.update.alias, 'username': c.user.name}
        for c in user.comments]
    sar_data[user.name]['email'] = user.email
    sar_data[user.name]['groups'] = [g.name for g in user.groups]
    sar_data[user.name]['name'] = user.name
    sar_data[user.name]['updates'] = [
        {'autokarma': u.autokarma, 'stable_karma': u.stable_karma,
         'unstable_karma': u.unstable_karma, 'requirements': u.requirements,
         'require_bugs': u.require_bugs, 'require_testcases': u.require_testcases,
         'notes': u.notes, 'type': str(u.type), 'severity': str(u.severity),
         'suggest': str(u.suggest), 'close_bugs': u.close_bugs, 'alias': u.alias,
         'builds': [b.nvr for b in u.builds], 'release_name': u.release.name,
         'bugs': [b.bug_id for b in u.bugs], 'user': u.user.name,
         'date_submitted': u.date_submitted.strftime('%Y-%m-%d %H:%M:%S')}
        for u in user.updates]
    if human_readable:
        print_human_readable_format(sar_data)
    else:
        click.echo(json.dumps(sar_data, sort_keys=True))