vCO Workflow Script to Change the Access Control Parameters of a vCloud vApp

The following script enables the changing of the access control parameters of a vCloud vApp.

 

var objVclControlAccessParams;

	objVclControlAccessParams = new VclControlAccessParams();
	objVclControlAccessParams.isSharedToEveryone = true;
	objVclControlAccessParams.everyoneAccessLevel = "FullControl";

objVclVApp.updateControlAccess(objVclControlAccessParams);

objVclVApp.updateInternalState();

Leave a Reply