<div dir="ltr">Hi Budur,<div><br></div><div>If you look at</div><div>/ovirt-engine/api/roles<br></div><div><br></div><div>You'll see a list of roles.</div><div>The role which is equivalent to the "VM owner" is UserVmManager, and you can see that its ID is "def00006-0000-0000-0000-def000000006".</div><div><br></div><div>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.</div><div>Whenever it exists, with combination of a VM, it will mean that this user is the UserVmManager of this VM.</div><div>It doesn't mean he created it, but that he was granted this permission.</div><div><br></div><div>Hope that is what you were looking for.</div><div><br></div><div>Regards,</div><div>Oved</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 17, 2016 at 7:31 AM, Budur Nagaraju <span dir="ltr"><<a href="mailto:nbudoor@gmail.com" target="_blank">nbudoor@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 dir="ltr"><div><div><div>HI <br><br></div>Is there any API to check that what are all the vms deployed by a user ?<br><br></div>Thanks,<br></div>Nagaraju<br><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>