Lync Server 2010 Multitenant Core Unified Communications Support Added

Enterprise voice support to follow soon
This commit is contained in:
robvde 2012-07-10 11:19:55 +04:00
parent 3732b2143c
commit a240fcebc6
94 changed files with 11276 additions and 39 deletions

View file

@ -143,14 +143,13 @@ namespace WebsitePanel.Portal.ExchangeServer
}
else
besStatsPanel.Visible = false;
/*
if (cntx.Groups.ContainsKey(ResourceGroups.Lync))
{
lyncStatsPanel.Visible = true;
BindLyncStats();
}
else
*/
lyncStatsPanel.Visible = false;

View file

@ -183,4 +183,16 @@
<data name="Text.MailboxPlans" xml:space="preserve">
<value>Mailbox Plans</value>
</data>
<data name="Text.LyncGroup" xml:space="preserve">
<value>Lync</value>
</data>
<data name="Text.LyncUserPlans" xml:space="preserve">
<value>Lync User Plans</value>
</data>
<data name="Text.LyncUsers" xml:space="preserve">
<value>Lync Users</value>
</data>
<data name="Text.LyncFederationDomains" xml:space="preserve">
<value>Lync Federation Domains</value>
</data>
</root>

View file

@ -202,6 +202,21 @@ namespace WebsitePanel.Portal.ExchangeServer.UserControls
groups.Add(ocsGroup);
}
private void PrepareLyncMenu(PackageContext cntx, List<MenuGroup> groups, string imagePath)
{
MenuGroup lyncGroup =
new MenuGroup(GetLocalizedString("Text.LyncGroup"), imagePath + "lync16.png");
lyncGroup.MenuItems.Add(CreateMenuItem("LyncUsers", "lync_users"));
lyncGroup.MenuItems.Add(CreateMenuItem("LyncUserPlans", "lync_userplans"));
if (CheckQouta(Quotas.LYNC_FEDERATION, cntx))
lyncGroup.MenuItems.Add(CreateMenuItem("LyncFederationDomains", "lync_federationdomains"));
groups.Add(lyncGroup);
}
private List<MenuGroup> PrepareMenu()
{
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
@ -238,6 +253,9 @@ namespace WebsitePanel.Portal.ExchangeServer.UserControls
if (cntx.Groups.ContainsKey(ResourceGroups.OCS))
PrepareOCSMenu(cntx, groups, imagePath);
//Lync Menu
if (cntx.Groups.ContainsKey(ResourceGroups.Lync))
PrepareLyncMenu(cntx, groups, imagePath);
return groups;
}