<div>To answer the second half of your question:</div><div><br></div><div>    keystoneclient cli does not support list-roles-for-user</div><div>    <a href="https://bugs.launchpad.net/keystone/+bug/932282">https://bugs.launchpad.net/keystone/+bug/932282</a></div>
<br><div class="gmail_quote">On Thu, Mar 8, 2012 at 4:46 PM, Jason Hedden <span dir="ltr"><<a href="mailto:jhedden@mcs.anl.gov">jhedden@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        It seems a little odd that the mapping of users to roles is stored in a python dictionary within a SQL table.  With this data structure it would be more efficient and flexible if the data was stored in a table similarly to the previous version of Keystone.  Why not let the database do its job?<br>

<br>
You can view a snippet of the Keystone metadata table @ <a href="http://paste.openstack.org/show/7552/" target="_blank">http://paste.openstack.org/show/7552/</a><br>
<br>
I came across this while trying to list the roles assigned to users, which I still don't know how to do via the keystone client utility. Is this even possible?<br>
<span class="HOEnZb"><font color="#888888"><br>
Jason Hedden<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</font></span></blockquote></div><br>