def _get_resource_name(user_id, name):
    """
    Get resource name by resource type.

    :param str user_id:     PipelineAI 8 character user id that uniquely
                                identifies the user that created the resource
                                for super users this user_id is not
                                always the current user
                                for non-super users this user_id is always
                                the current user
    :param str name:        User defined name for the resource

    :return:                resource name - PipelineAI name (with user_id prefix)
    """
    resource_name = user_id + name

    return resource_name