Ask Your Question

keystone v3 project user list using python api [closed]

asked 2014-10-07 16:03:41 -0500

keanesf gravatar image

Can some provide me a snippet of code for listing the projects based on a userId using the python keystone client


I can do it with a rest API call by I can't figure out the equivalent python code

import keystoneclient.v3.client as keystoneclient

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Syed Awais Ali
close date 2014-10-08 01:11:35.421596

1 answer

Sort by » oldest newest most voted

answered 2014-10-07 16:21:59 -0500

keanesf gravatar image

Found the answer to my question

print keystone.projects.list(user='insertUuidofUser')

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-10-07 16:03:41 -0500

Seen: 404 times

Last updated: Oct 07 '14