How to create with Python API a new Perforce user? -
i'm writing test python script returns list of submitters.
the following:
new_user = self.p4.fetch_user('existing-user') new_user['user'] = 'new-user' self.p4.save_user(new_user) emits:
p4exception: [p4#run] errors during command execution( "p4 user -i" ) [error]: "error in user specification.\nuser name can't changed 'existing-user'." what's python api call create new user?
new users created automatically with:
self.p4 = p4python.p4.p4(user='new-user')
Comments
Post a Comment