Merge Wsp2013 Fork into Main

This commit is contained in:
Virtuworks 2012-12-27 11:55:37 -05:00
commit f2032d5716
84 changed files with 14799 additions and 12456 deletions

View file

@ -98,6 +98,10 @@ namespace WebsitePanel.Providers.HostedSolution
DateTime lastLogon;
DateTime lastLogoff;
bool enableLitigationHold;
long recoverabelItemsSpace;
long recoverabelItemsWarning;
public string DisplayName
@ -399,5 +403,26 @@ namespace WebsitePanel.Providers.HostedSolution
get { return fullAccessAccounts; }
set { fullAccessAccounts = value; }
}
public bool EnableLitigationHold
{
get { return enableLitigationHold; }
set { enableLitigationHold = value; }
}
public long RecoverabelItemsSpace
{
get { return this.recoverabelItemsSpace; }
set { this.recoverabelItemsSpace = value; }
}
public long RecoverabelItemsWarning
{
get { return this.recoverabelItemsWarning; }
set { this.recoverabelItemsWarning = value; }
}
}
}

View file

@ -56,6 +56,10 @@ namespace WebsitePanel.Providers.HostedSolution
bool hideFromAddressBook;
int mailboxPlanType;
bool allowLitigationHold;
int recoverableItemsWarningPct;
int recoverableItemsSpace;
public int ItemId
{
@ -173,5 +177,24 @@ namespace WebsitePanel.Providers.HostedSolution
set { this.hideFromAddressBook = value; }
}
public bool AllowLitigationHold
{
get { return this.allowLitigationHold; }
set { this.allowLitigationHold = value; }
}
public int RecoverableItemsWarningPct
{
get { return this.recoverableItemsWarningPct; }
set { this.recoverableItemsWarningPct = value; }
}
public int RecoverableItemsSpace
{
get { return this.recoverableItemsSpace; }
set { this.recoverableItemsSpace = value; }
}
}
}

View file

@ -37,6 +37,7 @@ namespace WebsitePanel.Providers.HostedSolution
public string DisplayName{ get; set; }
public DateTime AccountCreated { get; set; }
public string PrimaryEmailAddress { get; set; }
public bool LitigationHoldEnabled { get; set; }
public bool POPEnabled { get; set; }
public bool IMAPEnabled { get; set; }
public bool OWAEnabled { get; set; }
@ -45,6 +46,9 @@ namespace WebsitePanel.Providers.HostedSolution
public int TotalItems { get; set; }
public long TotalSize { get; set; }
public long MaxSize { get; set; }
public long LitigationHoldTotalSize { get; set; }
public long LitigationHoldTotalItems { get; set; }
public long LitigationHoldMaxSize { get; set; }
public DateTime LastLogon { get; set; }
public DateTime LastLogoff { get; set; }
public bool Enabled { get; set; }

View file

@ -39,7 +39,7 @@ namespace WebsitePanel.Providers.HostedSolution
string accountName, bool enablePOP, bool enableIMAP,
bool enableOWA, bool enableMAPI, bool enableActiveSync,
long issueWarningKB, long prohibitSendKB, long prohibitSendReceiveKB,
int keepDeletedItemsDays, int maxRecipients, int maxSendMessageSizeKB, int maxReceiveMessageSizeKB, bool hideFromAddressBook, bool isConsumer);
int keepDeletedItemsDays, int maxRecipients, int maxSendMessageSizeKB, int maxReceiveMessageSizeKB, bool hideFromAddressBook, bool isConsumer, bool enabledLitigationHold, long recoverabelItemsSpace, long recoverabelItemsWarning);
Organization ExtendToExchangeOrganization(string organizationId, string securityGroup, bool IsConsumer);
string GetOABVirtualDirectory();
@ -57,8 +57,6 @@ namespace WebsitePanel.Providers.HostedSolution
string[] GetAuthoritativeDomains();
// Mailboxes
//string CreateMailbox(string organizationId, string organizationDistinguishedName, string mailboxDatabase, string securityGroup, string offlineAddressBook, string addressBookPolicy, ExchangeAccountType accountType, string displayName, string accountName, string name, string domain, string password, bool enablePOP, bool enableIMAP, bool enableOWA, bool enableMAPI, bool enableActiveSync,
// int issueWarningKB, int prohibitSendKB, int prohibitSendReceiveKB, int keepDeletedItemsDays, int maxRecipients, int maxSendMessageSizeKB, int maxReceiveMessageSizeKB,bool hideFromAddressBook);
void DeleteMailbox(string accountName);
void DisableMailbox(string id);
ExchangeMailbox GetMailboxGeneralSettings(string accountName);
@ -66,7 +64,7 @@ namespace WebsitePanel.Providers.HostedSolution
ExchangeMailbox GetMailboxMailFlowSettings(string accountName);
void SetMailboxMailFlowSettings(string accountName, bool enableForwarding, string forwardingAccountName, bool forwardToBoth, string[] sendOnBehalfAccounts, string[] acceptAccounts, string[] rejectAccounts, bool requireSenderAuthentication);
ExchangeMailbox GetMailboxAdvancedSettings(string accountName);
void SetMailboxAdvancedSettings(string organizationId, string accountName, bool enablePOP, bool enableIMAP, bool enableOWA, bool enableMAPI, bool enableActiveSync, long issueWarningKB, long prohibitSendKB, long prohibitSendReceiveKB, int keepDeletedItemsDays, int maxRecipients, int maxSendMessageSizeKB, int maxReceiveMessageSizeKB);
void SetMailboxAdvancedSettings(string organizationId, string accountName, bool enablePOP, bool enableIMAP, bool enableOWA, bool enableMAPI, bool enableActiveSync, long issueWarningKB, long prohibitSendKB, long prohibitSendReceiveKB, int keepDeletedItemsDays, int maxRecipients, int maxSendMessageSizeKB, int maxReceiveMessageSizeKB, bool enabledLitigationHold, long recoverabelItemsSpace, long recoverabelItemsWarning);
ExchangeEmailAddress[] GetMailboxEmailAddresses(string accountName);
void SetMailboxEmailAddresses(string accountName, string[] emailAddresses);
void SetMailboxPrimaryEmailAddress(string accountName, string emailAddress);

View file

@ -54,7 +54,7 @@ namespace WebsitePanel.Providers.HostedSolution
void SetUserPassword(string organizationId, string accountName, string password);
void SetUserPrincipalName(string organizationId, string accountName, string userPrincipalName);
bool OrganizationExists(string organizationId);
void DeleteOrganizationDomain(string organizationDistinguishedName, string domain);