April 2018
Intermediate to advanced
280 pages
8h 37m
English
Sometimes, a user may update his email or password. The user properties can be updated by invoking the update_user() function call and passing the Python dictionary that has the updated user properties:
def update_user(conn): userid="3fcde77916894498a1d8753d2bafd8ee" user_parameters = { "default_project_id":"demo", "email":"manoj.hirway@packtpub.com", "is_enabled":True, "name":"packtpub", "pasword":"new_password", } conn.identity.update_user(userid,**user_parameters)