<div dir="ltr"><div><div>Guys<br><br></div><div>I have some python code that utilizes the v3 keystone api.<br> <br></div>Part of it will remove a user/role from project and as long as there are no other user/role assignments it'll nuke the project. <br></div><div>Question: Is there a cleaner way to check project membership other than looping through a list of all users and passing the id (along with the project id)  to the line:<br><br><i>keystone.roles.list(user=userid, project=projectid)</i><br><br></div><div>and checking the result of each pass?  (<i>keystone</i> represents the authN object)<br><br></div><div>Cheers<br></div><div>Mike<br></div></div>