This commit is contained in:
Virtuworks 2013-10-02 10:59:50 -04:00
commit 7689703a9b
7 changed files with 65 additions and 9 deletions

View file

@ -90,7 +90,7 @@ namespace WebsitePanel.Portal.HostedSolution
// get settings
OrganizationUser user = ES.Services.Organizations.GetUserGeneralSettings(PanelRequest.ItemID, PanelRequest.AccountID);
groups.DistributionListsEnabled = (user.AccountType == ExchangeAccountType.Mailbox
groups.DistributionListsEnabled = EnableDistributionLists && (user.AccountType == ExchangeAccountType.Mailbox
|| user.AccountType == ExchangeAccountType.Room
|| user.AccountType == ExchangeAccountType.Equipment);