Exchange Shared and Resource mailboxes : AccountType fix

This commit is contained in:
dev_amdtel 2014-11-27 19:10:06 +04:00
parent f54b1b8466
commit b4ce9904b4
13 changed files with 43 additions and 32 deletions

View file

@ -1679,7 +1679,7 @@ namespace WebsitePanel.EnterpriseServer
if ((orgStats.AllocatedSharedMailboxes > -1) && (orgStats.CreatedSharedMailboxes >= orgStats.AllocatedSharedMailboxes))
return BusinessErrorCodes.ERROR_EXCHANGE_MAILBOXES_QUOTA_LIMIT;
}
else if (accountType == ExchangeAccountType.ResourceMailbox)
else if ((accountType == ExchangeAccountType.Room) || (accountType == ExchangeAccountType.Equipment))
{
if ((orgStats.AllocatedResourceMailboxes > -1) && (orgStats.CreatedResourceMailboxes >= orgStats.AllocatedResourceMailboxes))
return BusinessErrorCodes.ERROR_EXCHANGE_MAILBOXES_QUOTA_LIMIT;