deleted users archiving

This commit is contained in:
vfedosevich 2015-01-16 04:01:35 -08:00
parent 45462971d2
commit 26a050a3e5
78 changed files with 13755 additions and 9774 deletions

View file

@ -1271,6 +1271,28 @@ namespace WebsitePanel.Server
#endregion
#region Archiving
[WebMethod, SoapHeader("settings")]
public ResultObject ExportMailBox(string organizationId, string accountName, string storagePath)
{
ResultObject res = null;
try
{
LogStart("ExportMailBox");
res = ES.ExportMailBox(organizationId, accountName, storagePath);
LogEnd("ExportMailBox");
}
catch (Exception ex)
{
LogError("ExportMailBox", ex);
throw;
}
return res;
}
[WebMethod, SoapHeader("settings")]
public ResultObject SetMailBoxArchiving(string organizationId, string accountName, bool archive, long archiveQuotaKB, long archiveWarningQuotaKB, string RetentionPolicy)
{