def METHOD_NAME(name):
    """Return json formated list of users attached to the target"""
    # Check for required fields
    if not name:
        return utils.response("ERROR: The name is required ", 417)
    target_data = target.Target.query.filter_by(name=name).first()
    if target_data is None:
        return utils.response('ERROR: No target with the name "' + name + \
                '" in the database.', 417)
    return api_target_element(target_data, "user") 