Fixed wsp-10166 enable resource attendant for resource mailboxes

Fixed Exchange 2010 SP2 autodetect
This commit is contained in:
robvde 2013-05-19 21:39:14 +04:00
parent 544c28a817
commit 25252051b5
3 changed files with 25 additions and 2 deletions

View file

@ -1971,6 +1971,12 @@ namespace WebsitePanel.Providers.HostedSolution
cmd.Parameters.Add("ImapEnabled", enableIMAP);
ExecuteShellCommand(runSpace, cmd);
//calendar settings
if (accountType == ExchangeAccountType.Equipment || accountType == ExchangeAccountType.Room)
{
SetCalendarSettings(runSpace, id);
}
//add to the security group
cmd = new Command("Add-DistributionGroupMember");
cmd.Parameters.Add("Identity", organizationId);
@ -2008,6 +2014,7 @@ namespace WebsitePanel.Providers.HostedSolution
CloseRunspace(runSpace);
}
}
internal virtual void SetCalendarSettings(Runspace runspace, string id)
{