| 123456789101112131415 |
- from xmlrpc.client import ServerProxy
- url = "http://123.207.30.34:30269"
- username = "oms"
- password = "aaaAAA111"
- db = 'checkpoint'
- common = ServerProxy('{}/xmlrpc/2/common'.format(url))
- oms_uid = common.authenticate(db, username, password, {})
- print(oms_uid)
|