[Openstack] [openstack] how to get authorized tenant list for any user as an admin

Damon Wang damon.devops at gmail.com
Thu Mar 27 11:31:59 UTC 2014


Hi,

Maybe you can use tables "user_project_metadata" in database "keystone".

Haneef's idea maybe better :-)

Damon


2014-03-27 9:18 GMT+08:00 Ali, Haneef <haneef.ali at hp.com>:

>  You can do this is in v3.   GET   v3/users/{user_id}/project
>
>
>
> Thanks
>
> Haneef
>
>
>
> *From:* Xu (Simon) Chen [mailto:xchenum at gmail.com]
> *Sent:* Wednesday, March 26, 2014 4:40 PM
> *To:* openstack at lists.openstack.org
> *Subject:* [Openstack] [openstack] how to get authorized tenant list for
> any user as an admin
>
>
>
> I tried to search the Internet but probably there is a million ways to
> phrase this question..
>
>
>
> Basically, assuming I have an admin credential, given a user name/id, is
> there a way to get the list of tenants that user is in? "user-role-list"
> seems to be an obvious choice, but it doesn't seem to work. As a user, we
> can obtain an unscoped token, and get a list of tenants for the user. But I
> want to do this as an admin.
>
>
>
> Thanks.
>
> -Simon
>
>
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140327/94078615/attachment.html>


More information about the Openstack mailing list