def sync_users(self, user_ids): for id in user_ids: user = User.get_by(id=id) if user: self.rpc_server.set_freemium_user(self.rpc_sid, self.str_org_id, user.email, user.pwd, user.license, '', '', False)
def update_users_note(self, user_ids, note): for id in user_ids: user = User.get_by(id=id) if user: self.rpc_server.set_freemium_user(self.rpc_sid, self.str_org_id, user.email, user.pwd, user.license, '', note, True)
def sync_users(self, user_ids): for id in user_ids: user = User.get_by(id = id) if user: self.rpc_server.set_freemium_user(self.rpc_sid, self.str_org_id, user.email, user.pwd, user.license, '', '', False)
def update_users_note(self, user_ids, note): for id in user_ids: user = User.get_by(id = id) if user: self.rpc_server.set_freemium_user(self.rpc_sid, self.str_org_id, user.email, user.pwd, user.license, '', note, True)