<div>Hi Dolph,</div><div><br></div>Just out of curiosity, why is the argument --user instead of --user-id?<div><br></div><div>Seems like it would be more informative and consistent if it was --user_id. I actually wound up filing a bug for this at <a href="https://bugs.launchpad.net/keystone/+bug/994744">https://bugs.launchpad.net/keystone/+bug/994744</a></div>
<div><br></div><div>Everett<br><br><div class="gmail_quote">On Fri, May 4, 2012 at 11:36 AM, Dolph Mathews <span dir="ltr"><<a href="mailto:dolph.mathews@gmail.com" target="_blank">dolph.mathews@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>This actually just changed yesterday in <a href="https://github.com/openstack/python-keystoneclient/commit/e9ba370434537bcf1e53266e24397311d595b71e" target="_blank">https://github.com/openstack/python-keystoneclient/commit/e9ba370434537bcf1e53266e24397311d595b71e</a></div>

<div><br></div><div><br></div><div>PRIOR to that commit:</div><div><br></div><div>$ keystone help role-list</div><div class="im"><div>usage: keystone role-list [--user <user-id>] [--tenant_id <tenant-id>]</div>
<div><br></div>
</div><div class="im"><div>List all roles, or only those granted to a user.</div><div><br></div></div><div class="im"><div>Optional arguments:</div><div>  --user <user-id>      List roles granted to a user</div><div>
  --tenant_id <tenant-id></div><div>                        List roles granted on a tenant</div>
<div><br></div><div><br></div></div><div>AFTER that commit (role-list has been simplified by introducing a new command):</div><div><br></div><div><div>$ keystone help user-role-list</div><div>usage: keystone user-role-list [--user <user-id>] [--tenant_id <tenant-id>]</div>
<div class="im">
<div><br></div><div>List roles granted to a user</div><div><br></div><div>Optional arguments:</div><div>  --user <user-id>      List roles granted to a user</div><div>  --tenant_id <tenant-id></div><div>                        List roles granted on a tenant</div>

</div></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Dolph</div><br></font></span><div class="gmail_quote"><div><div class="h5">On Fri, May 4, 2012 at 10:36 AM, Kevin Jackson <span dir="ltr"><<a href="mailto:kevin@linuxservices.co.uk" target="_blank">kevin@linuxservices.co.uk</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hello everyone,<div>Quick Q: As an administrator how can I list the roles for a given user with the keystone client?</div>

<div>I see this teasing option - but I can only list all roles unless I auth with the user's details...</div>
<div><br></div><div>role-list           List all roles, or only those granted to a user.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Kev<span><font color="#888888"><br>-- <br>Kevin Jackson<br>@itarchitectkev<br>
</font></span></div>
<br></div></div><div class="im">_______________________________________________<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" target="_blank">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>
<br></div></blockquote></div><br>
<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>
<br></blockquote></div><br></div>