Ask Your Question
0

how to disble/enable openstack user using python sdk?

asked 2017-07-26 03:33:07 -0500

fateem gravatar image

updated 2017-07-26 03:34:08 -0500

i'm writing my application using newton openstack and i want i can disable or enable any user in any time using openstack python sdk,but i didn't find anything about that in openstack python client docs.

thanks for your helps

Regards

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-07-26 04:44:12 -0500

nuriel77 gravatar image

I find that looking into the keystoneclient on github makes it easier to understand how to do what you want, check the users.py packages and update method: python-keystoneclient

I didn't test this myself, but this would be how I'd try to update/enable/disable a user.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-07-26 03:33:07 -0500

Seen: 32 times

Last updated: Jul 26 '17