def METHOD_NAME(searchkey, token, expected_status=200):
    headers = {'Authorization': 'Bearer ' + token}
    r = requests.post(CATTLE_AUTH_PRINCIPAL_URL,
                      json={'name': searchkey, 'principalType': 'user',
                            'responseType': 'json'},
                      verify=False, headers=headers)
    assert r.status_code == expected_status
    if r.status_code == 200:
        print(r.json())
        data = r.json()['data']
        print(data)
        assert len(data) == 2
        print(data)
        assert \
            data[0].get('id') == \
            "activedirectory_user://CN=test user40," \
            "CN=Users,DC=tad,DC=rancher,DC=io"
        assert \
            data[1].get('id') == \
            "activedirectory_user://CN=test user41," \
            "CN=Users,DC=tad,DC=rancher,DC=io"