Exchange Module: Add ability to manage all built-in security types in public folder management.

This commit is contained in:
omara 2012-06-06 19:45:41 -04:00
parent 5326d4ff26
commit a62703d32f
22 changed files with 3680 additions and 2763 deletions

View file

@ -3636,7 +3636,7 @@ namespace WebsitePanel.EnterpriseServer
c.DisplayName = "\\fabrikam\\Documents";
c.MailEnabled = true;
c.Name = "Documents";
c.AuthorsAccounts = GetAccounts(0, ExchangeAccountType.Mailbox).ToArray();
c.Accounts = GetAccounts(0, ExchangeAccountType.Mailbox).ToArray();
c.AcceptAccounts = GetAccounts(0, ExchangeAccountType.Mailbox).ToArray();
return c;
}
@ -3683,7 +3683,7 @@ namespace WebsitePanel.EnterpriseServer
}
public static int SetPublicFolderGeneralSettings(int itemId, int accountId, string newName,
bool hideAddressBook, string[] authorAccounts)
bool hideAddressBook, ExchangeAccount[] accounts)
{
// check account
int accountCheck = SecurityContext.CheckAccount(DemandAccount.NotDemo | DemandAccount.IsActive);
@ -3714,8 +3714,9 @@ namespace WebsitePanel.EnterpriseServer
exchange.SetPublicFolderGeneralSettings(
account.DisplayName,
newName,
authorAccounts,
hideAddressBook);
hideAddressBook,
accounts
);
// update folder name
string origName = account.DisplayName;

View file

@ -68,11 +68,11 @@
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Web.Mobile" />
<Reference Include="System.Xml.Linq" />
<Reference Include="WebsitePanel.Providers.Base, Version=1.0.1.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081, processorArchitecture=MSIL">
<Reference Include="WebsitePanel.Providers.Base, Version=1.2.2.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\Bin\WebsitePanel.Providers.Base.dll</HintPath>
</Reference>
<Reference Include="WebsitePanel.Server.Client, Version=1.0.1.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081, processorArchitecture=MSIL">
<Reference Include="WebsitePanel.Server.Client, Version=1.2.2.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\Bin\WebsitePanel.Server.Client.dll</HintPath>
</Reference>
@ -425,7 +425,7 @@
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>False</AutoAssignPort>
<DevelopmentServerPort>9002</DevelopmentServerPort>
<DevelopmentServerPort>9005</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>

View file

@ -515,10 +515,10 @@ namespace WebsitePanel.EnterpriseServer
[WebMethod]
public int SetPublicFolderGeneralSettings(int itemId, int accountId, string newName,
bool hideAddressBook, string[] authorAccounts)
bool hideAddressBook, ExchangeAccount[] accounts)
{
return ExchangeServerController.SetPublicFolderGeneralSettings(itemId, accountId, newName,
hideAddressBook, authorAccounts);
hideAddressBook, accounts);
}
[WebMethod]