Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

current business group

$
0
0

Hi,

Can you please help me to find query the business group that current (or specific user) is belong with VRO?

I was trying to do it on that way but getting null:

 

//vcacHost and userName are input parameter

var model = "ManagementModelEntities.svc";

var entitySetName = "Users";

var property = new Properties();

property.put("UserName",userName);

var entities = vCACEntityManager.readModelEntitiesByCustomFilter(vcacHost.id, model, entitySetName, property, null);

//System.log("User ent: " + entities);

var BG = entities[0].getLink(vcacHost, "ProvisioningGroup");

 

 

System.log("Bg New: " + BG);

Thanks,

Anat


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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