Added ability to apply exchange and lync plan templates to all tenants. Plan

will only be added is the planName does not exist yet for this tenant.
Added ability to match exchange plan (based on size and mapi) to mail enabled
users (room and equipment) and add the mailbox plan to the object for all users
who has no plan assigned yet

configured generate_es_proxies.bat added

Allowed admins to delete reseller space
This commit is contained in:
robvde 2012-08-01 21:38:51 +04:00
parent 985ed949b5
commit 31fb739b18
12 changed files with 545 additions and 64 deletions

View file

@ -26,7 +26,6 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@ -114,6 +113,8 @@ namespace WebsitePanel.EnterpriseServer {
private System.Threading.SendOrPostCallback DisableMailboxOperationCompleted;
private System.Threading.SendOrPostCallback GetMailboxAdvancedSettingsOperationCompleted;
private System.Threading.SendOrPostCallback GetMailboxGeneralSettingsOperationCompleted;
private System.Threading.SendOrPostCallback SetMailboxGeneralSettingsOperationCompleted;
@ -304,6 +305,9 @@ namespace WebsitePanel.EnterpriseServer {
/// <remarks/>
public event DisableMailboxCompletedEventHandler DisableMailboxCompleted;
/// <remarks/>
public event GetMailboxAdvancedSettingsCompletedEventHandler GetMailboxAdvancedSettingsCompleted;
/// <remarks/>
public event GetMailboxGeneralSettingsCompletedEventHandler GetMailboxGeneralSettingsCompleted;
@ -1775,6 +1779,50 @@ namespace WebsitePanel.EnterpriseServer {
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetMailboxAdvancedSettings", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public ExchangeMailbox GetMailboxAdvancedSettings(int itemId, int accountId) {
object[] results = this.Invoke("GetMailboxAdvancedSettings", new object[] {
itemId,
accountId});
return ((ExchangeMailbox)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetMailboxAdvancedSettings(int itemId, int accountId, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetMailboxAdvancedSettings", new object[] {
itemId,
accountId}, callback, asyncState);
}
/// <remarks/>
public ExchangeMailbox EndGetMailboxAdvancedSettings(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ExchangeMailbox)(results[0]));
}
/// <remarks/>
public void GetMailboxAdvancedSettingsAsync(int itemId, int accountId) {
this.GetMailboxAdvancedSettingsAsync(itemId, accountId, null);
}
/// <remarks/>
public void GetMailboxAdvancedSettingsAsync(int itemId, int accountId, object userState) {
if ((this.GetMailboxAdvancedSettingsOperationCompleted == null)) {
this.GetMailboxAdvancedSettingsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMailboxAdvancedSettingsOperationCompleted);
}
this.InvokeAsync("GetMailboxAdvancedSettings", new object[] {
itemId,
accountId}, this.GetMailboxAdvancedSettingsOperationCompleted, userState);
}
private void OnGetMailboxAdvancedSettingsOperationCompleted(object arg) {
if ((this.GetMailboxAdvancedSettingsCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.GetMailboxAdvancedSettingsCompleted(this, new GetMailboxAdvancedSettingsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smbsaas/websitepanel/enterpriseserver/GetMailboxGeneralSettings", RequestNamespace="http://smbsaas/websitepanel/enterpriseserver", ResponseNamespace="http://smbsaas/websitepanel/enterpriseserver", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public ExchangeMailbox GetMailboxGeneralSettings(int itemId, int accountId) {
@ -5196,6 +5244,32 @@ namespace WebsitePanel.EnterpriseServer {
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void GetMailboxAdvancedSettingsCompletedEventHandler(object sender, GetMailboxAdvancedSettingsCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class GetMailboxAdvancedSettingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal GetMailboxAdvancedSettingsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public ExchangeMailbox Result {
get {
this.RaiseExceptionIfNecessary();
return ((ExchangeMailbox)(this.results[0]));
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
public delegate void GetMailboxGeneralSettingsCompletedEventHandler(object sender, GetMailboxGeneralSettingsCompletedEventArgs e);