[Openstack] Listing roles for a user

Dolph Mathews dolph.mathews at gmail.com
Fri May 4 17:36:31 UTC 2012


This actually just changed yesterday in
https://github.com/openstack/python-keystoneclient/commit/e9ba370434537bcf1e53266e24397311d595b71e


PRIOR to that commit:

$ keystone help role-list
usage: keystone role-list [--user <user-id>] [--tenant_id <tenant-id>]

List all roles, or only those granted to a user.

Optional arguments:
  --user <user-id>      List roles granted to a user
  --tenant_id <tenant-id>
                        List roles granted on a tenant


AFTER that commit (role-list has been simplified by introducing a new
command):

$ keystone help user-role-list
usage: keystone user-role-list [--user <user-id>] [--tenant_id <tenant-id>]

List roles granted to a user

Optional arguments:
  --user <user-id>      List roles granted to a user
  --tenant_id <tenant-id>
                        List roles granted on a tenant

-Dolph

On Fri, May 4, 2012 at 10:36 AM, Kevin Jackson <kevin at linuxservices.co.uk>wrote:

> Hello everyone,
> Quick Q: As an administrator how can I list the roles for a given user
> with the keystone client?
> I see this teasing option - but I can only list all roles unless I auth
> with the user's details...
>
> role-list           List all roles, or only those granted to a user.
>
> Cheers,
>
> Kev
> --
> Kevin Jackson
> @itarchitectkev
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120504/99514ba5/attachment.html>


More information about the Openstack mailing list