Exchange fix
This commit is contained in:
parent
8994a89611
commit
cf0092bc9f
1 changed files with 10 additions and 2 deletions
|
@ -87,9 +87,17 @@ namespace WebsitePanel.Portal.ExchangeServer
|
||||||
int.TryParse(mailboxPlanSelector.MailboxPlanId, out planId);
|
int.TryParse(mailboxPlanSelector.MailboxPlanId, out planId);
|
||||||
ExchangeMailboxPlan plan = ES.Services.ExchangeServer.GetExchangeMailboxPlan(PanelRequest.ItemID, planId);
|
ExchangeMailboxPlan plan = ES.Services.ExchangeServer.GetExchangeMailboxPlan(PanelRequest.ItemID, planId);
|
||||||
|
|
||||||
|
if (plan != null)
|
||||||
|
{
|
||||||
secArchiving.Visible = plan.EnableArchiving;
|
secArchiving.Visible = plan.EnableArchiving;
|
||||||
secLitigationHoldSettings.Visible = plan.AllowLitigationHold && Utils.CheckQouta(Quotas.EXCHANGE2007_ALLOWLITIGATIONHOLD, Cntx);
|
secLitigationHoldSettings.Visible = plan.AllowLitigationHold && Utils.CheckQouta(Quotas.EXCHANGE2007_ALLOWLITIGATIONHOLD, Cntx);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
secArchiving.Visible = false;
|
||||||
|
secLitigationHoldSettings.Visible = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void BindSettings()
|
private void BindSettings()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue