Ability to set system and reseller lync and exchange mailbox plans as a default
plan added
This commit is contained in:
parent
555fb75d5d
commit
62f478010c
7 changed files with 112 additions and 2 deletions
|
@ -2647,6 +2647,17 @@ namespace WebsitePanel.EnterpriseServer
|
|||
else
|
||||
ExchangeServerController.GetExchangeMailboxPlansByUser(0, user, ref mailboxPlans);
|
||||
|
||||
|
||||
ExchangeOrganization ExchangeOrg = ObjectUtils.FillObjectFromDataReader<ExchangeOrganization>(DataProvider.GetExchangeOrganization(itemId));
|
||||
|
||||
if (ExchangeOrg != null)
|
||||
{
|
||||
foreach (ExchangeMailboxPlan p in mailboxPlans)
|
||||
{
|
||||
p.IsDefault = (p.MailboxPlanId == ExchangeOrg.ExchangeMailboxPlanID);
|
||||
}
|
||||
}
|
||||
|
||||
return mailboxPlans;
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue