def delete_user(email, profile="splunk"):

    client = _get_splunk(profile)

    user = list_users(profile).get(email)

    if user:
        try:
            client.users.delete(user.name)
        except (AuthenticationError, HTTPError) as e:
            log.info('Exception: {0}'.format(str(e)))
            return False
    else:
        return False

    return user.name not in client.users
Specifies whether output should be used to change the column
dataset/ETHPy150Open saltstack/salt/salt/modules/splunk.py/delete_user--crossover with--dataset/ETHPy150Open hvandenb/splunk-elasticsearch/search-elasticsearch/bin/splunklib/searchcommands/search_command.py/SearchCommand.ConfigurationSettings.changes_colorder