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
|
@ -548,6 +548,18 @@ namespace WebsitePanel.EnterpriseServer.Code.HostedSolution
|
|||
else
|
||||
LyncController.GetLyncUserPlansByUser(0, user, ref plans);
|
||||
|
||||
|
||||
ExchangeOrganization ExchangeOrg = ObjectUtils.FillObjectFromDataReader<ExchangeOrganization>(DataProvider.GetExchangeOrganization(itemId));
|
||||
|
||||
if (ExchangeOrg != null)
|
||||
{
|
||||
foreach (LyncUserPlan p in plans)
|
||||
{
|
||||
p.IsDefault = (p.LyncUserPlanId == ExchangeOrg.LyncUserPlanID);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return plans;
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue