Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231085

Re: VM owner

$
0
0

var ownerEntity = virtualMachineEntity.getLink(vCACHost, "Owner")[0];

var ownerName = ownerEntity.getProperty("UserName");

 

That array is important...  Much of the API is read only on that array, but I have been able to hack in multiple owners. 

 

There are several ways to get the Entity depending on what you are doing.


Viewing all articles
Browse latest Browse all 231085

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>