public string EvaluateVirtualMachineTemplate(int itemId, string template) { if (SecurityContext.CheckAccount(DemandAccount.IsActive | DemandAccount.IsAdmin | DemandAccount.NotDemo) != 0) { throw new Exception("This method could be called by serveradmin only."); } return(VirtualizationServerControllerForPrivateCloud.EvaluateVirtualMachineTemplate(itemId, false, false, template)); }