Esempio n. 1
0
 def create_user(self):
     rest = RestConnection(self.host)
     response = rest.add_external_user(self.user_id, self.payload)
     return response
Esempio n. 2
0
    def remove_ext_user_from_grp(self, user, group, host):
        rest = RestConnection(host)

        payload = 'name=' + user + '&roles=' + roles
        rest.add_external_user(user, payload)