Esempio n. 1
0
 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)
Esempio n. 2
0
 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)
Esempio n. 3
0
 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)
Esempio n. 4
0
 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)