From 0e130a7af09ad5b9ccb69ae7479aaa1c599fda6d Mon Sep 17 00:00:00 2001 From: Alexander Trofimov Date: Thu, 29 Jan 2015 15:14:57 +0700 Subject: [PATCH] wsp-10300 Default Global Mailbox Plan --- .../ExchangeServerController.cs | 29 +-- .../WebsitePanel_SharedResources.ascx.resx | 3 + ...ttingsExchangeMailboxPlansPolicy.ascx.resx | 3 + .../SettingsExchangeMailboxPlansPolicy.ascx | 15 +- ...SettingsExchangeMailboxPlansPolicy.ascx.cs | 173 ++++++++---------- ...xchangeMailboxPlansPolicy.ascx.designer.cs | 142 +++++++------- 6 files changed, 183 insertions(+), 182 deletions(-) diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/ExchangeServer/ExchangeServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/ExchangeServer/ExchangeServerController.cs index be688d18..f8698cf5 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/ExchangeServer/ExchangeServerController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer.Code/ExchangeServer/ExchangeServerController.cs @@ -31,6 +31,7 @@ using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Data; +using System.Linq; using System.Net.Mail; using System.Threading; using WebsitePanel.EnterpriseServer.Code.HostedSolution; @@ -2919,23 +2920,18 @@ namespace WebsitePanel.EnterpriseServer try { List mailboxPlans = new List(); + int? defaultPlanId = null; UserInfo user = ObjectUtils.FillObjectFromDataReader(DataProvider.GetUserByExchangeOrganizationIdInternally(itemId)); if (user.Role == UserRole.User) - ExchangeServerController.GetExchangeMailboxPlansByUser(itemId, user, ref mailboxPlans, archiving); + GetExchangeMailboxPlansByUser(itemId, user, ref mailboxPlans, ref defaultPlanId, archiving); else - ExchangeServerController.GetExchangeMailboxPlansByUser(0, user, ref mailboxPlans, archiving); + GetExchangeMailboxPlansByUser(0, user, ref mailboxPlans, ref defaultPlanId, archiving); - - ExchangeOrganization ExchangeOrg = ObjectUtils.FillObjectFromDataReader(DataProvider.GetExchangeOrganization(itemId)); - - if (ExchangeOrg != null) + if (defaultPlanId.HasValue) { - foreach (ExchangeMailboxPlan p in mailboxPlans) - { - p.IsDefault = (p.MailboxPlanId == ExchangeOrg.ExchangeMailboxPlanID); - } + mailboxPlans.ForEach(p => p.IsDefault = (p.MailboxPlanId == defaultPlanId.Value)); } return mailboxPlans; @@ -2950,7 +2946,7 @@ namespace WebsitePanel.EnterpriseServer } } - private static void GetExchangeMailboxPlansByUser(int itemId, UserInfo user, ref List mailboxPlans, bool archiving) + private static void GetExchangeMailboxPlansByUser(int itemId, UserInfo user, ref List mailboxPlans, ref int? defaultPlanId, bool archiving) { if ((user != null)) { @@ -2983,11 +2979,20 @@ namespace WebsitePanel.EnterpriseServer { mailboxPlans.Add(p); } + + // Set default plan + ExchangeOrganization exchangeOrg = ObjectUtils.FillObjectFromDataReader(DataProvider.GetExchangeOrganization(OrgId)); + + // If the default plan has not been set by the setting of higher priority + if (!defaultPlanId.HasValue && exchangeOrg != null && exchangeOrg.ExchangeMailboxPlanID > 0) + { + defaultPlanId = exchangeOrg.ExchangeMailboxPlanID; + } } UserInfo owner = UserController.GetUserInternally(user.OwnerId); - GetExchangeMailboxPlansByUser(0, owner, ref mailboxPlans, archiving); + GetExchangeMailboxPlansByUser(0, owner, ref mailboxPlans, ref defaultPlanId, archiving); } } diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx index 3d851e29..60c685cc 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/App_GlobalResources/WebsitePanel_SharedResources.ascx.resx @@ -5335,6 +5335,9 @@ Mailbox plan updated + + Succesfully set default mailbox plan. + Lync plan update failed diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsExchangeMailboxPlansPolicy.ascx.resx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsExchangeMailboxPlansPolicy.ascx.resx index 220a268c..d35a7610 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsExchangeMailboxPlansPolicy.ascx.resx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/App_LocalResources/SettingsExchangeMailboxPlansPolicy.ascx.resx @@ -249,4 +249,7 @@ Retention policy + + Default + \ No newline at end of file diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx index a9a75838..e08d5b60 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx @@ -28,6 +28,15 @@ <%# PortalAntiXSS.Encode((string)Eval("MailboxPlan"))%> + + + +   + +   -
+
+
+ +
diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.cs index 04ff1c50..67fdd3fe 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.cs @@ -36,7 +36,7 @@ using System.Xml.Serialization; using System.Collections.Generic; using System.Collections.ObjectModel; - +using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; @@ -99,21 +99,7 @@ namespace WebsitePanel.Portal private void BindMailboxPlans() { - Providers.HostedSolution.Organization[] orgs = null; - - if (PanelSecurity.SelectedUserId != 1) - { - PackageInfo[] Packages = ES.Services.Packages.GetPackages(PanelSecurity.SelectedUserId); - - if ((Packages != null) & (Packages.GetLength(0) > 0)) - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(Packages[0].PackageId, false); - } - } - else - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(1, false); - } + Providers.HostedSolution.Organization[] orgs = GetOrganizations(); if ((orgs != null) & (orgs.GetLength(0) > 0)) { @@ -123,6 +109,12 @@ namespace WebsitePanel.Portal gvMailboxPlans.DataBind(); } + //check if organization has only one default domain or less + if (gvMailboxPlans.Rows.Count <= 1) + { + btnSetDefaultMailboxPlan.Enabled = false; + } + btnUpdateMailboxPlan.Enabled = (string.IsNullOrEmpty(txtMailboxPlan.Text)) ? false : true; } @@ -185,21 +177,7 @@ namespace WebsitePanel.Portal if (PanelSecurity.SelectedUser.Role == UserRole.Reseller) plan.MailboxPlanType = (int)ExchangeMailboxPlanType.Reseller; - Providers.HostedSolution.Organization[] orgs = null; - - if (PanelSecurity.SelectedUserId != 1) - { - PackageInfo[] Packages = ES.Services.Packages.GetPackages(PanelSecurity.SelectedUserId); - - if ((Packages != null) & (Packages.GetLength(0) > 0)) - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(Packages[0].PackageId, false); - } - } - else - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(1, false); - } + Providers.HostedSolution.Organization[] orgs = GetOrganizations(); if ((orgs != null) & (orgs.GetLength(0) > 0)) @@ -231,20 +209,7 @@ namespace WebsitePanel.Portal case "DeleteItem": try { - - if (PanelSecurity.SelectedUserId != 1) - { - PackageInfo[] Packages = ES.Services.Packages.GetPackages(PanelSecurity.SelectedUserId); - - if ((Packages != null) & (Packages.GetLength(0) > 0)) - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(Packages[0].PackageId, false); - } - } - else - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(1, false); - } + orgs = GetOrganizations(); plan = ES.Services.ExchangeServer.GetExchangeMailboxPlan(orgs[0].Id, mailboxPlanId); @@ -308,20 +273,7 @@ namespace WebsitePanel.Portal case "EditItem": ViewState["MailboxPlanID"] = mailboxPlanId; - if (PanelSecurity.SelectedUserId != 1) - { - PackageInfo[] Packages = ES.Services.Packages.GetPackages(PanelSecurity.SelectedUserId); - - if ((Packages != null) & (Packages.GetLength(0) > 0)) - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(Packages[0].PackageId, false); - } - } - else - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(1, false); - } - + orgs = GetOrganizations(); plan = ES.Services.ExchangeServer.GetExchangeMailboxPlan(orgs[0].Id, mailboxPlanId); txtMailboxPlan.Text = plan.MailboxPlan; @@ -421,24 +373,9 @@ namespace WebsitePanel.Portal return; int mailboxPlanId = (int)ViewState["MailboxPlanID"]; - Providers.HostedSolution.Organization[] orgs = null; + Providers.HostedSolution.Organization[] orgs = GetOrganizations(); Providers.HostedSolution.ExchangeMailboxPlan plan; - - if (PanelSecurity.SelectedUserId != 1) - { - PackageInfo[] Packages = ES.Services.Packages.GetPackages(PanelSecurity.SelectedUserId); - - if ((Packages != null) & (Packages.GetLength(0) > 0)) - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(Packages[0].PackageId, false); - } - } - else - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(1, false); - } - plan = ES.Services.ExchangeServer.GetExchangeMailboxPlan(orgs[0].Id, mailboxPlanId); if (plan.ItemId != orgs[0].Id) @@ -668,36 +605,22 @@ namespace WebsitePanel.Portal { ddTags.Items.Clear(); - Providers.HostedSolution.Organization[] orgs = null; + Organization[] orgs = GetOrganizations(); - if (PanelSecurity.SelectedUserId != 1) - { - PackageInfo[] Packages = ES.Services.Packages.GetPackages(PanelSecurity.SelectedUserId); - - if ((Packages != null) & (Packages.GetLength(0) > 0)) + if ((orgs != null) && (orgs.GetLength(0) > 0)) { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(Packages[0].PackageId, false); - } - } - else - { - orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(1, false); - } + Providers.HostedSolution.ExchangeRetentionPolicyTag[] allTags = ES.Services.ExchangeServer.GetExchangeRetentionPolicyTags(orgs[0].Id); + List selectedTags = ViewState["Tags"] as List; - if ((orgs != null) & (orgs.GetLength(0) > 0)) - { - Providers.HostedSolution.ExchangeRetentionPolicyTag[] allTags = ES.Services.ExchangeServer.GetExchangeRetentionPolicyTags(orgs[0].Id); - List selectedTags = ViewState["Tags"] as List; - - foreach (Providers.HostedSolution.ExchangeRetentionPolicyTag tag in allTags) - { - if (selectedTags != null) + foreach (Providers.HostedSolution.ExchangeRetentionPolicyTag tag in allTags) { - if (selectedTags.Find(x => x.TagID == tag.TagID) != null) - continue; - } + if (selectedTags != null) + { + if (selectedTags.Find(x => x.TagID == tag.TagID) != null) + continue; + } - ddTags.Items.Add(new System.Web.UI.WebControls.ListItem(tag.TagName, tag.TagID.ToString())); + ddTags.Items.Add(new System.Web.UI.WebControls.ListItem(tag.TagName, tag.TagID.ToString())); } } @@ -737,5 +660,55 @@ namespace WebsitePanel.Portal } + protected Organization[] GetOrganizations() + { + Organization[] orgs = null; + + if (PanelSecurity.SelectedUserId != 1) + { + PackageInfo[] Packages = ES.Services.Packages.GetPackages(PanelSecurity.SelectedUserId); + + if ((Packages != null) & (Packages.GetLength(0) > 0)) + { + orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(Packages[0].PackageId, false); + } + } + else + { + orgs = ES.Services.ExchangeServer.GetExchangeOrganizations(1, false); + } + + return orgs; + } + + protected void btnSetDefaultMailboxPlan_Click(object sender, EventArgs e) + { + // get domain + int mailboxPlanId = Utils.ParseInt(Request.Form["DefaultMailboxPlan"], 0); + + try + { + var orgs = GetOrganizations(); + + if ((orgs != null) && (orgs.GetLength(0) > 0)) + { + ES.Services.ExchangeServer.SetOrganizationDefaultExchangeMailboxPlan(orgs[0].Id, mailboxPlanId); + + messageBox.ShowSuccessMessage("EXCHANGE_SET_DEFAULT_MAILBOXPLAN"); + + // rebind domains + BindMailboxPlans(); + } + } + catch (Exception ex) + { + messageBox.ShowErrorMessage("EXCHANGE_SET_DEFAULT_MAILBOXPLAN", ex); + } + } + + protected string IsChecked(bool val) + { + return val ? "checked" : ""; + } } } diff --git a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.designer.cs b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.designer.cs index 84de2aeb..1c07cbce 100644 --- a/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.designer.cs +++ b/WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/SettingsExchangeMailboxPlansPolicy.ascx.designer.cs @@ -35,11 +35,13 @@ // //------------------------------------------------------------------------------ -namespace WebsitePanel.Portal { - - - public partial class SettingsExchangeMailboxPlansPolicy { - +namespace WebsitePanel.Portal +{ + + + public partial class SettingsExchangeMailboxPlansPolicy + { + /// /// asyncTasks control. /// @@ -48,7 +50,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks; - + /// /// messageBox control. /// @@ -57,7 +59,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.UserControls.SimpleMessageBox messageBox; - + /// /// gvMailboxPlans control. /// @@ -66,7 +68,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.GridView gvMailboxPlans; - + /// /// secMailboxPlan control. /// @@ -75,7 +77,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.CollapsiblePanel secMailboxPlan; - + /// /// MailboxPlan control. /// @@ -84,7 +86,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel MailboxPlan; - + /// /// txtMailboxPlan control. /// @@ -93,7 +95,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtMailboxPlan; - + /// /// valRequireMailboxPlan control. /// @@ -102,7 +104,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.RequiredFieldValidator valRequireMailboxPlan; - + /// /// secMailboxFeatures control. /// @@ -111,7 +113,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.CollapsiblePanel secMailboxFeatures; - + /// /// MailboxFeatures control. /// @@ -120,7 +122,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel MailboxFeatures; - + /// /// chkPOP3 control. /// @@ -129,7 +131,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkPOP3; - + /// /// chkIMAP control. /// @@ -138,7 +140,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkIMAP; - + /// /// chkOWA control. /// @@ -147,7 +149,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkOWA; - + /// /// chkMAPI control. /// @@ -156,7 +158,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkMAPI; - + /// /// chkActiveSync control. /// @@ -165,7 +167,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkActiveSync; - + /// /// secMailboxGeneral control. /// @@ -174,7 +176,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.CollapsiblePanel secMailboxGeneral; - + /// /// MailboxGeneral control. /// @@ -183,7 +185,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel MailboxGeneral; - + /// /// chkHideFromAddressBook control. /// @@ -192,7 +194,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkHideFromAddressBook; - + /// /// secStorageQuotas control. /// @@ -201,7 +203,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.CollapsiblePanel secStorageQuotas; - + /// /// StorageQuotas control. /// @@ -210,7 +212,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel StorageQuotas; - + /// /// locMailboxSize control. /// @@ -219,7 +221,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locMailboxSize; - + /// /// mailboxSize control. /// @@ -228,7 +230,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.QuotaEditor mailboxSize; - + /// /// locMaxRecipients control. /// @@ -237,7 +239,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locMaxRecipients; - + /// /// maxRecipients control. /// @@ -246,7 +248,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.QuotaEditor maxRecipients; - + /// /// locMaxSendMessageSizeKB control. /// @@ -255,7 +257,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locMaxSendMessageSizeKB; - + /// /// maxSendMessageSizeKB control. /// @@ -264,7 +266,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.QuotaEditor maxSendMessageSizeKB; - + /// /// locMaxReceiveMessageSizeKB control. /// @@ -273,7 +275,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locMaxReceiveMessageSizeKB; - + /// /// maxReceiveMessageSizeKB control. /// @@ -282,7 +284,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.QuotaEditor maxReceiveMessageSizeKB; - + /// /// locWhenSizeExceeds control. /// @@ -291,7 +293,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locWhenSizeExceeds; - + /// /// locIssueWarning control. /// @@ -300,7 +302,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locIssueWarning; - + /// /// sizeIssueWarning control. /// @@ -309,7 +311,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.ExchangeServer.UserControls.SizeBox sizeIssueWarning; - + /// /// locProhibitSend control. /// @@ -318,7 +320,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locProhibitSend; - + /// /// sizeProhibitSend control. /// @@ -327,7 +329,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.ExchangeServer.UserControls.SizeBox sizeProhibitSend; - + /// /// locProhibitSendReceive control. /// @@ -336,7 +338,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locProhibitSendReceive; - + /// /// sizeProhibitSendReceive control. /// @@ -345,7 +347,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.ExchangeServer.UserControls.SizeBox sizeProhibitSendReceive; - + /// /// secDeleteRetention control. /// @@ -354,7 +356,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.CollapsiblePanel secDeleteRetention; - + /// /// DeleteRetention control. /// @@ -363,7 +365,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel DeleteRetention; - + /// /// locKeepDeletedItems control. /// @@ -372,7 +374,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locKeepDeletedItems; - + /// /// daysKeepDeletedItems control. /// @@ -381,7 +383,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.ExchangeServer.UserControls.DaysBox daysKeepDeletedItems; - + /// /// secLitigationHold control. /// @@ -390,7 +392,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.CollapsiblePanel secLitigationHold; - + /// /// LitigationHold control. /// @@ -399,7 +401,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel LitigationHold; - + /// /// chkEnableLitigationHold control. /// @@ -408,7 +410,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkEnableLitigationHold; - + /// /// locRecoverableItemsSpace control. /// @@ -417,7 +419,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locRecoverableItemsSpace; - + /// /// recoverableItemsSpace control. /// @@ -426,7 +428,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.QuotaEditor recoverableItemsSpace; - + /// /// locRecoverableItemsWarning control. /// @@ -435,7 +437,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locRecoverableItemsWarning; - + /// /// recoverableItemsWarning control. /// @@ -444,7 +446,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.ExchangeServer.UserControls.SizeBox recoverableItemsWarning; - + /// /// lblLitigationHoldUrl control. /// @@ -453,7 +455,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblLitigationHoldUrl; - + /// /// txtLitigationHoldUrl control. /// @@ -462,7 +464,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtLitigationHoldUrl; - + /// /// lblLitigationHoldMsg control. /// @@ -471,7 +473,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label lblLitigationHoldMsg; - + /// /// txtLitigationHoldMsg control. /// @@ -480,7 +482,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtLitigationHoldMsg; - + /// /// secArchiving control. /// @@ -489,7 +491,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.CollapsiblePanel secArchiving; - + /// /// Archiving control. /// @@ -498,7 +500,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel Archiving; - + /// /// chkEnableArchiving control. /// @@ -507,7 +509,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.CheckBox chkEnableArchiving; - + /// /// locArchiveQuota control. /// @@ -516,7 +518,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locArchiveQuota; - + /// /// archiveQuota control. /// @@ -525,7 +527,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.QuotaEditor archiveQuota; - + /// /// locArchiveWarningQuota control. /// @@ -534,7 +536,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Localize locArchiveWarningQuota; - + /// /// archiveWarningQuota control. /// @@ -543,7 +545,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.ExchangeServer.UserControls.SizeBox archiveWarningQuota; - + /// /// secRetentionPolicyTags control. /// @@ -552,7 +554,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::WebsitePanel.Portal.CollapsiblePanel secRetentionPolicyTags; - + /// /// RetentionPolicyTags control. /// @@ -561,7 +563,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Panel RetentionPolicyTags; - + /// /// GeneralUpdatePanel control. /// @@ -570,7 +572,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.UpdatePanel GeneralUpdatePanel; - + /// /// gvPolicy control. /// @@ -579,7 +581,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.GridView gvPolicy; - + /// /// ddTags control. /// @@ -588,7 +590,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.DropDownList ddTags; - + /// /// bntAddTag control. /// @@ -597,7 +599,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Button bntAddTag; - + /// /// btnAddMailboxPlan control. /// @@ -606,7 +608,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Button btnAddMailboxPlan; - + /// /// btnUpdateMailboxPlan control. /// @@ -615,7 +617,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Button btnUpdateMailboxPlan; - + /// /// txtStatus control. /// @@ -624,5 +626,7 @@ namespace WebsitePanel.Portal { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.TextBox txtStatus; + + protected global::System.Web.UI.WebControls.Button btnSetDefaultMailboxPlan; } }