[ovirt-users] Vms owner

Oved Ourfali oourfali at redhat.com
Thu Mar 17 06:57:06 UTC 2016


Hi Budur,

If you look at
/ovirt-engine/api/roles

You'll see a list of roles.
The role which is equivalent to the "VM owner" is UserVmManager, and you
can see that its ID is "def00006-0000-0000-0000-def000000006".

Then, if you go to /ovirt-engine/api/users/user-id/permissions you'll get
all the permissions granted to this user, and there you can look for this
permission.
Whenever it exists, with combination of a VM, it will mean that this user
is the UserVmManager of this VM.
It doesn't mean he created it, but that he was granted this permission.

Hope that is what you were looking for.

Regards,
Oved

On Thu, Mar 17, 2016 at 7:31 AM, Budur Nagaraju <nbudoor at gmail.com> wrote:

> HI
>
> Is there any API to check that  what are all the vms deployed by a user ?
>
> Thanks,
> Nagaraju
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160317/481c09df/attachment-0001.html>


More information about the Users mailing list