Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

Change the VCAC owner of a VM through VCO.

$
0
0

I am able to get the owner with the below code...

Not sure how to change the owner.  Below captures the owner name of the VCAC VM.

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

 

 

 

 

 


Viewing all articles
Browse latest Browse all 9859

Trending Articles



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