VMware Cloud Community
harirajan2014
Enthusiast
Enthusiast

How to get the VRM owner value in vRO

I need to get the machine owner value in VRO to create an external stub workflow . Please let me know how i can do that.

2 Replies
willonit
Hot Shot
Hot Shot

See if this works for you.


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

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

harirajan2014
Enthusiast
Enthusiast

Let me try this ::smileycool:

0 Kudos