merge
This commit is contained in:
commit
0942297398
47 changed files with 2305 additions and 182 deletions
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace WebsitePanel.EnterpriseServer.Base.HostedSolution
|
||||
{
|
||||
public class ServiceLevel
|
||||
{
|
||||
int levelId;
|
||||
string levelName;
|
||||
string levelDescription;
|
||||
|
||||
public int LevelId
|
||||
{
|
||||
get { return levelId; }
|
||||
set { levelId = value; }
|
||||
}
|
||||
|
||||
public string LevelName
|
||||
{
|
||||
get { return levelName; }
|
||||
set { levelName = value; }
|
||||
}
|
||||
|
||||
public string LevelDescription
|
||||
{
|
||||
get { return levelDescription; }
|
||||
set { levelDescription = value; }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -255,5 +255,6 @@ order by rg.groupOrder
|
|||
public const string ENTERPRISESTORAGE_FOLDERS = "EnterpriseStorage.Folders";
|
||||
public const string ENTERPRICESTORAGE_DRIVEMAPS = "EnterpriseStorage.DriveMaps";
|
||||
|
||||
public const string SERVICE_LEVELS = "ServiceLevel.";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,5 +55,6 @@ namespace WebsitePanel.EnterpriseServer
|
|||
public const string VPSForPC = "VPSForPC";
|
||||
public const string Lync = "Lync";
|
||||
public const string EnterpriseStorage = "EnterpriseStorage";
|
||||
public const string ServiceLevels = "Service Levels";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
<Compile Include="Ecommerce\TriggerSystem\ITriggerHandler.cs" />
|
||||
<Compile Include="ExchangeServer\ExchangeEmailAddress.cs" />
|
||||
<Compile Include="HostedSolution\AdditionalGroup.cs" />
|
||||
<Compile Include="HostedSolution\ServiceLevel.cs" />
|
||||
<Compile Include="HostedSolution\CRMLycenseTypes.cs" />
|
||||
<Compile Include="HostedSolution\ESPermission.cs" />
|
||||
<Compile Include="Log\LogRecord.cs" />
|
||||
|
|
|
@ -146,6 +146,16 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
|
||||
private System.Threading.SendOrPostCallback SetDefaultOrganizationOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback GetSupportServiceLevelsOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback UpdateSupportServiceLevelOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback DeleteSupportServiceLevelOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback AddSupportServiceLevelOperationCompleted;
|
||||
|
||||
private System.Threading.SendOrPostCallback GetSupportServiceLevelOperationCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public esOrganizations()
|
||||
{
|
||||
|
@ -272,6 +282,20 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
/// <remarks/>
|
||||
public event SetDefaultOrganizationCompletedEventHandler SetDefaultOrganizationCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event GetSupportServiceLevelsCompletedEventHandler GetSupportServiceLevelsCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event UpdateSupportServiceLevelCompletedEventHandler UpdateSupportServiceLevelCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event DeleteSupportServiceLevelCompletedEventHandler DeleteSupportServiceLevelCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event AddSupportServiceLevelCompletedEventHandler AddSupportServiceLevelCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
public event GetSupportServiceLevelCompletedEventHandler GetSupportServiceLevelCompleted;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CheckOrgIdExists", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
|
@ -1415,7 +1439,9 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
string webPage,
|
||||
string notes,
|
||||
string externalEmail,
|
||||
string subscriberNumber)
|
||||
string subscriberNumber,
|
||||
int levelId,
|
||||
bool isVIP)
|
||||
{
|
||||
object[] results = this.Invoke("SetUserGeneralSettings", new object[] {
|
||||
itemId,
|
||||
|
@ -1446,7 +1472,9 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
webPage,
|
||||
notes,
|
||||
externalEmail,
|
||||
subscriberNumber});
|
||||
subscriberNumber,
|
||||
levelId,
|
||||
isVIP});
|
||||
return ((int)(results[0]));
|
||||
}
|
||||
|
||||
|
@ -1481,6 +1509,8 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
string notes,
|
||||
string externalEmail,
|
||||
string subscriberNumber,
|
||||
int levelId,
|
||||
bool isVIP,
|
||||
System.AsyncCallback callback,
|
||||
object asyncState)
|
||||
{
|
||||
|
@ -1513,7 +1543,9 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
webPage,
|
||||
notes,
|
||||
externalEmail,
|
||||
subscriberNumber}, callback, asyncState);
|
||||
subscriberNumber,
|
||||
levelId,
|
||||
isVIP}, callback, asyncState);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
|
@ -1553,9 +1585,11 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
string webPage,
|
||||
string notes,
|
||||
string externalEmail,
|
||||
string subscriberNumber)
|
||||
string subscriberNumber,
|
||||
int levelId,
|
||||
bool isVIP)
|
||||
{
|
||||
this.SetUserGeneralSettingsAsync(itemId, accountId, displayName, password, hideAddressBook, disabled, locked, firstName, initials, lastName, address, city, state, zip, country, jobTitle, company, department, office, managerAccountName, businessPhone, fax, homePhone, mobilePhone, pager, webPage, notes, externalEmail, subscriberNumber, null);
|
||||
this.SetUserGeneralSettingsAsync(itemId, accountId, displayName, password, hideAddressBook, disabled, locked, firstName, initials, lastName, address, city, state, zip, country, jobTitle, company, department, office, managerAccountName, businessPhone, fax, homePhone, mobilePhone, pager, webPage, notes, externalEmail, subscriberNumber, levelId, isVIP, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
|
@ -1589,6 +1623,8 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
string notes,
|
||||
string externalEmail,
|
||||
string subscriberNumber,
|
||||
int levelId,
|
||||
bool isVIP,
|
||||
object userState)
|
||||
{
|
||||
if ((this.SetUserGeneralSettingsOperationCompleted == null))
|
||||
|
@ -1624,7 +1660,9 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
webPage,
|
||||
notes,
|
||||
externalEmail,
|
||||
subscriberNumber}, this.SetUserGeneralSettingsOperationCompleted, userState);
|
||||
subscriberNumber,
|
||||
levelId,
|
||||
isVIP}, this.SetUserGeneralSettingsOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnSetUserGeneralSettingsOperationCompleted(object arg)
|
||||
|
@ -2663,6 +2701,255 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSupportServiceLevels", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public ServiceLevel[] GetSupportServiceLevels()
|
||||
{
|
||||
object[] results = this.Invoke("GetSupportServiceLevels", new object[0]);
|
||||
return ((ServiceLevel[])(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public System.IAsyncResult BeginGetSupportServiceLevels(System.AsyncCallback callback, object asyncState)
|
||||
{
|
||||
return this.BeginInvoke("GetSupportServiceLevels", new object[0], callback, asyncState);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public ServiceLevel[] EndGetSupportServiceLevels(System.IAsyncResult asyncResult)
|
||||
{
|
||||
object[] results = this.EndInvoke(asyncResult);
|
||||
return ((ServiceLevel[])(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void GetSupportServiceLevelsAsync()
|
||||
{
|
||||
this.GetSupportServiceLevelsAsync(null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void GetSupportServiceLevelsAsync(object userState)
|
||||
{
|
||||
if ((this.GetSupportServiceLevelsOperationCompleted == null))
|
||||
{
|
||||
this.GetSupportServiceLevelsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSupportServiceLevelsOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("GetSupportServiceLevels", new object[0], this.GetSupportServiceLevelsOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnGetSupportServiceLevelsOperationCompleted(object arg)
|
||||
{
|
||||
if ((this.GetSupportServiceLevelsCompleted != null))
|
||||
{
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.GetSupportServiceLevelsCompleted(this, new GetSupportServiceLevelsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateSupportServiceLevel", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public void UpdateSupportServiceLevel(int levelID, string levelName, string levelDescription)
|
||||
{
|
||||
this.Invoke("UpdateSupportServiceLevel", new object[] {
|
||||
levelID,
|
||||
levelName,
|
||||
levelDescription});
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public System.IAsyncResult BeginUpdateSupportServiceLevel(int levelID, string levelName, string levelDescription, System.AsyncCallback callback, object asyncState)
|
||||
{
|
||||
return this.BeginInvoke("UpdateSupportServiceLevel", new object[] {
|
||||
levelID,
|
||||
levelName,
|
||||
levelDescription}, callback, asyncState);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void EndUpdateSupportServiceLevel(System.IAsyncResult asyncResult)
|
||||
{
|
||||
this.EndInvoke(asyncResult);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void UpdateSupportServiceLevelAsync(int levelID, string levelName, string levelDescription)
|
||||
{
|
||||
this.UpdateSupportServiceLevelAsync(levelID, levelName, levelDescription, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void UpdateSupportServiceLevelAsync(int levelID, string levelName, string levelDescription, object userState)
|
||||
{
|
||||
if ((this.UpdateSupportServiceLevelOperationCompleted == null))
|
||||
{
|
||||
this.UpdateSupportServiceLevelOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSupportServiceLevelOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("UpdateSupportServiceLevel", new object[] {
|
||||
levelID,
|
||||
levelName,
|
||||
levelDescription}, this.UpdateSupportServiceLevelOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnUpdateSupportServiceLevelOperationCompleted(object arg)
|
||||
{
|
||||
if ((this.UpdateSupportServiceLevelCompleted != null))
|
||||
{
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.UpdateSupportServiceLevelCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteSupportServiceLevel", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public ResultObject DeleteSupportServiceLevel(int levelId)
|
||||
{
|
||||
object[] results = this.Invoke("DeleteSupportServiceLevel", new object[] {
|
||||
levelId});
|
||||
return ((ResultObject)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public System.IAsyncResult BeginDeleteSupportServiceLevel(int levelId, System.AsyncCallback callback, object asyncState)
|
||||
{
|
||||
return this.BeginInvoke("DeleteSupportServiceLevel", new object[] {
|
||||
levelId}, callback, asyncState);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public ResultObject EndDeleteSupportServiceLevel(System.IAsyncResult asyncResult)
|
||||
{
|
||||
object[] results = this.EndInvoke(asyncResult);
|
||||
return ((ResultObject)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void DeleteSupportServiceLevelAsync(int levelId)
|
||||
{
|
||||
this.DeleteSupportServiceLevelAsync(levelId, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void DeleteSupportServiceLevelAsync(int levelId, object userState)
|
||||
{
|
||||
if ((this.DeleteSupportServiceLevelOperationCompleted == null))
|
||||
{
|
||||
this.DeleteSupportServiceLevelOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSupportServiceLevelOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("DeleteSupportServiceLevel", new object[] {
|
||||
levelId}, this.DeleteSupportServiceLevelOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnDeleteSupportServiceLevelOperationCompleted(object arg)
|
||||
{
|
||||
if ((this.DeleteSupportServiceLevelCompleted != null))
|
||||
{
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.DeleteSupportServiceLevelCompleted(this, new DeleteSupportServiceLevelCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddSupportServiceLevel", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public int AddSupportServiceLevel(string levelName, string levelDescription)
|
||||
{
|
||||
object[] results = this.Invoke("AddSupportServiceLevel", new object[] {
|
||||
levelName,
|
||||
levelDescription});
|
||||
return ((int)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public System.IAsyncResult BeginAddSupportServiceLevel(string levelName, string levelDescription, System.AsyncCallback callback, object asyncState)
|
||||
{
|
||||
return this.BeginInvoke("AddSupportServiceLevel", new object[] {
|
||||
levelName,
|
||||
levelDescription}, callback, asyncState);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public int EndAddSupportServiceLevel(System.IAsyncResult asyncResult)
|
||||
{
|
||||
object[] results = this.EndInvoke(asyncResult);
|
||||
return ((int)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void AddSupportServiceLevelAsync(string levelName, string levelDescription)
|
||||
{
|
||||
this.AddSupportServiceLevelAsync(levelName, levelDescription, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void AddSupportServiceLevelAsync(string levelName, string levelDescription, object userState)
|
||||
{
|
||||
if ((this.AddSupportServiceLevelOperationCompleted == null))
|
||||
{
|
||||
this.AddSupportServiceLevelOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSupportServiceLevelOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("AddSupportServiceLevel", new object[] {
|
||||
levelName,
|
||||
levelDescription}, this.AddSupportServiceLevelOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnAddSupportServiceLevelOperationCompleted(object arg)
|
||||
{
|
||||
if ((this.AddSupportServiceLevelCompleted != null))
|
||||
{
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.AddSupportServiceLevelCompleted(this, new AddSupportServiceLevelCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSupportServiceLevel", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
|
||||
public ServiceLevel GetSupportServiceLevel(int levelID)
|
||||
{
|
||||
object[] results = this.Invoke("GetSupportServiceLevel", new object[] {
|
||||
levelID});
|
||||
return ((ServiceLevel)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public System.IAsyncResult BeginGetSupportServiceLevel(int levelID, System.AsyncCallback callback, object asyncState)
|
||||
{
|
||||
return this.BeginInvoke("GetSupportServiceLevel", new object[] {
|
||||
levelID}, callback, asyncState);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public ServiceLevel EndGetSupportServiceLevel(System.IAsyncResult asyncResult)
|
||||
{
|
||||
object[] results = this.EndInvoke(asyncResult);
|
||||
return ((ServiceLevel)(results[0]));
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void GetSupportServiceLevelAsync(int levelID)
|
||||
{
|
||||
this.GetSupportServiceLevelAsync(levelID, null);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public void GetSupportServiceLevelAsync(int levelID, object userState)
|
||||
{
|
||||
if ((this.GetSupportServiceLevelOperationCompleted == null))
|
||||
{
|
||||
this.GetSupportServiceLevelOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSupportServiceLevelOperationCompleted);
|
||||
}
|
||||
this.InvokeAsync("GetSupportServiceLevel", new object[] {
|
||||
levelID}, this.GetSupportServiceLevelOperationCompleted, userState);
|
||||
}
|
||||
|
||||
private void OnGetSupportServiceLevelOperationCompleted(object arg)
|
||||
{
|
||||
if ((this.GetSupportServiceLevelCompleted != null))
|
||||
{
|
||||
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
|
||||
this.GetSupportServiceLevelCompleted(this, new GetSupportServiceLevelCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public new void CancelAsync(object userState)
|
||||
{
|
||||
|
@ -3791,4 +4078,128 @@ namespace WebsitePanel.EnterpriseServer.HostedSolution
|
|||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
||||
public delegate void SetDefaultOrganizationCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
||||
public delegate void UpdateSupportServiceLevelCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
||||
public delegate void DeleteSupportServiceLevelCompletedEventHandler(object sender, DeleteSupportServiceLevelCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class DeleteSupportServiceLevelCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
|
||||
{
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal DeleteSupportServiceLevelCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState)
|
||||
{
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public ResultObject Result
|
||||
{
|
||||
get
|
||||
{
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((ResultObject)(this.results[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
||||
public delegate void AddSupportServiceLevelCompletedEventHandler(object sender, AddSupportServiceLevelCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class AddSupportServiceLevelCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
|
||||
{
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal AddSupportServiceLevelCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState)
|
||||
{
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public int Result
|
||||
{
|
||||
get
|
||||
{
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((int)(this.results[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
||||
public delegate void GetSupportServiceLevelsCompletedEventHandler(object sender, GetSupportServiceLevelsCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class GetSupportServiceLevelsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
|
||||
{
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal GetSupportServiceLevelsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState)
|
||||
{
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public ServiceLevel[] Result
|
||||
{
|
||||
get
|
||||
{
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((ServiceLevel[])(this.results[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
||||
public delegate void GetSupportServiceLevelCompletedEventHandler(object sender, GetSupportServiceLevelCompletedEventArgs e);
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
public partial class GetSupportServiceLevelCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
|
||||
{
|
||||
|
||||
private object[] results;
|
||||
|
||||
internal GetSupportServiceLevelCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
||||
base(exception, cancelled, userState)
|
||||
{
|
||||
this.results = results;
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
public ServiceLevel Result
|
||||
{
|
||||
get
|
||||
{
|
||||
this.RaiseExceptionIfNecessary();
|
||||
return ((ServiceLevel)(this.results[0]));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2593,6 +2593,18 @@ namespace WebsitePanel.EnterpriseServer
|
|||
);
|
||||
}
|
||||
|
||||
public static void UpdateExchangeAccountServiceLevelSettings(int accountId, int levelId, bool isVIP)
|
||||
{
|
||||
SqlHelper.ExecuteNonQuery(
|
||||
ConnectionString,
|
||||
CommandType.StoredProcedure,
|
||||
"UpdateExchangeAccountSLSettings",
|
||||
new SqlParameter("@AccountID", accountId),
|
||||
new SqlParameter("@LevelID", (levelId == 0) ? (object)DBNull.Value : (object)levelId),
|
||||
new SqlParameter("@IsVIP", isVIP)
|
||||
);
|
||||
}
|
||||
|
||||
public static void UpdateExchangeAccountUserPrincipalName(int accountId, string userPrincipalName)
|
||||
{
|
||||
SqlHelper.ExecuteNonQuery(
|
||||
|
@ -4357,5 +4369,71 @@ namespace WebsitePanel.EnterpriseServer
|
|||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Support Service Levels
|
||||
|
||||
public static IDataReader GetSupportServiceLevels()
|
||||
{
|
||||
return SqlHelper.ExecuteReader(ConnectionString, CommandType.StoredProcedure,
|
||||
ObjectQualifier + "GetSupportServiceLevels");
|
||||
}
|
||||
|
||||
public static int AddSupportServiceLevel(string levelName, string levelDescription)
|
||||
{
|
||||
SqlParameter outParam = new SqlParameter("@LevelID", SqlDbType.Int);
|
||||
outParam.Direction = ParameterDirection.Output;
|
||||
|
||||
SqlHelper.ExecuteNonQuery(
|
||||
ConnectionString,
|
||||
CommandType.StoredProcedure,
|
||||
"AddSupportServiceLevel",
|
||||
outParam,
|
||||
new SqlParameter("@LevelName", levelName),
|
||||
new SqlParameter("@LevelDescription", levelDescription)
|
||||
);
|
||||
|
||||
return Convert.ToInt32(outParam.Value);
|
||||
}
|
||||
|
||||
public static void UpdateSupportServiceLevel(int levelID, string levelName, string levelDescription)
|
||||
{
|
||||
SqlHelper.ExecuteNonQuery(
|
||||
ConnectionString,
|
||||
CommandType.StoredProcedure,
|
||||
"UpdateSupportServiceLevel",
|
||||
new SqlParameter("@LevelID", levelID),
|
||||
new SqlParameter("@LevelName", levelName),
|
||||
new SqlParameter("@LevelDescription", levelDescription)
|
||||
);
|
||||
}
|
||||
|
||||
public static void DeleteSupportServiceLevel(int levelID)
|
||||
{
|
||||
SqlHelper.ExecuteNonQuery(
|
||||
ConnectionString,
|
||||
CommandType.StoredProcedure,
|
||||
"DeleteSupportServiceLevel",
|
||||
new SqlParameter("@LevelID", levelID)
|
||||
);
|
||||
}
|
||||
|
||||
public static IDataReader GetSupportServiceLevel(int levelID)
|
||||
{
|
||||
return SqlHelper.ExecuteReader(
|
||||
ConnectionString,
|
||||
CommandType.StoredProcedure,
|
||||
"GetSupportServiceLevel",
|
||||
new SqlParameter("@LevelID", levelID)
|
||||
);
|
||||
}
|
||||
|
||||
public static bool CheckServiceLevelUsage(int levelID)
|
||||
{
|
||||
int res = (int)SqlHelper.ExecuteScalar(ConnectionString, CommandType.StoredProcedure, "CheckServiceLevelUsage",
|
||||
new SqlParameter("@LevelID", levelID));
|
||||
return res > 0;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1140,6 +1140,8 @@ namespace WebsitePanel.EnterpriseServer
|
|||
//StringDictionary serviceSettings = ServerController.GetServiceSettings(serviceId);
|
||||
//foreach (string key in serviceSettings.Keys)
|
||||
// cnfg.ProviderSettings.Settings[key] = serviceSettings[key];
|
||||
cnfg.ProviderSettings.Settings["aspnet40path"] = @"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll";
|
||||
cnfg.ProviderSettings.Settings["aspnet40x64path"] = @"%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll";
|
||||
|
||||
ServiceProviderProxy.ServerInit(web, cnfg, serverId);
|
||||
|
||||
|
|
|
@ -978,6 +978,31 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
List<ExchangeAccount> accounts = new List<ExchangeAccount>();
|
||||
ObjectUtils.FillCollectionFromDataView(accounts, ds.Tables[1].DefaultView);
|
||||
|
||||
Organization org = null;
|
||||
try
|
||||
{
|
||||
org = GetOrganization(itemId);
|
||||
|
||||
if (org != null)
|
||||
{
|
||||
Organizations orgProxy = OrganizationController.GetOrganizationProxy(org.ServiceId);
|
||||
|
||||
OrganizationUser user = null;
|
||||
string accountName = string.Empty;
|
||||
foreach (var account in accounts)
|
||||
{
|
||||
accountName = OrganizationController.GetAccountName(account.AccountName);
|
||||
|
||||
user = orgProxy.GetUserGeneralSettings(accountName, org.OrganizationId);
|
||||
|
||||
account.Disabled = user.Disabled;
|
||||
account.Locked = user.Locked;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
|
||||
result.PageItems = accounts.ToArray();
|
||||
return result;
|
||||
}
|
||||
|
|
|
@ -1856,6 +1856,8 @@ namespace WebsitePanel.EnterpriseServer
|
|||
retUser.IsLyncUser = DataProvider.CheckLyncUserExists(accountId);
|
||||
retUser.IsBlackBerryUser = BlackBerryController.CheckBlackBerryUserExists(accountId);
|
||||
retUser.SubscriberNumber = account.SubscriberNumber;
|
||||
retUser.LevelId = account.LevelId;
|
||||
retUser.IsVIP = account.IsVIP;
|
||||
|
||||
return retUser;
|
||||
}
|
||||
|
@ -1873,7 +1875,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
string lastName, string address, string city, string state, string zip, string country,
|
||||
string jobTitle, string company, string department, string office, string managerAccountName,
|
||||
string businessPhone, string fax, string homePhone, string mobilePhone, string pager,
|
||||
string webPage, string notes, string externalEmail, string subscriberNumber)
|
||||
string webPage, string notes, string externalEmail, string subscriberNumber, int levelId, bool isVIP)
|
||||
{
|
||||
|
||||
// check account
|
||||
|
@ -1940,6 +1942,8 @@ namespace WebsitePanel.EnterpriseServer
|
|||
// update account
|
||||
account.DisplayName = displayName;
|
||||
account.SubscriberNumber = subscriberNumber;
|
||||
account.LevelId = levelId;
|
||||
account.IsVIP = isVIP;
|
||||
|
||||
//account.
|
||||
if (!String.IsNullOrEmpty(password))
|
||||
|
@ -1948,6 +1952,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
account.AccountPassword = null;
|
||||
|
||||
UpdateAccount(account);
|
||||
UpdateAccountServiceLevelSettings(account);
|
||||
|
||||
|
||||
return 0;
|
||||
|
@ -2114,7 +2119,10 @@ namespace WebsitePanel.EnterpriseServer
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
private static void UpdateAccountServiceLevelSettings(ExchangeAccount account)
|
||||
{
|
||||
DataProvider.UpdateExchangeAccountServiceLevelSettings(account.AccountId, account.LevelId, account.IsVIP);
|
||||
}
|
||||
|
||||
private static void UpdateAccount(ExchangeAccount account)
|
||||
{
|
||||
|
@ -2126,7 +2134,6 @@ namespace WebsitePanel.EnterpriseServer
|
|||
}
|
||||
|
||||
|
||||
|
||||
public static List<OrganizationUser> SearchAccounts(int itemId,
|
||||
|
||||
string filterColumn, string filterValue, string sortColumn, bool includeMailboxes)
|
||||
|
@ -2941,5 +2948,122 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
//return accounts;
|
||||
}
|
||||
|
||||
|
||||
#region Service Levels
|
||||
|
||||
public static int AddSupportServiceLevel(string levelName, string levelDescription)
|
||||
{
|
||||
if (string.IsNullOrEmpty(levelName))
|
||||
throw new ArgumentNullException("levelName");
|
||||
|
||||
// place log record
|
||||
TaskManager.StartTask("ORGANIZATION", "ADD_SUPPORT_SERVICE_LEVEL");
|
||||
|
||||
int levelID = 0;
|
||||
|
||||
try
|
||||
{
|
||||
levelID = DataProvider.AddSupportServiceLevel(levelName, levelDescription);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
TaskManager.WriteError(ex);
|
||||
}
|
||||
finally
|
||||
{
|
||||
TaskManager.CompleteTask();
|
||||
}
|
||||
|
||||
return levelID;
|
||||
}
|
||||
|
||||
public static ResultObject DeleteSupportServiceLevel(int levelId)
|
||||
{
|
||||
ResultObject res = TaskManager.StartResultTask<ResultObject>("ORGANIZATION", "DELETE_SUPPORT_SERVICE_LEVEL", levelId);
|
||||
|
||||
try
|
||||
{
|
||||
if (CheckServiceLevelUsage(levelId)) res.AddError("SERVICE_LEVEL_IN_USE", new ApplicationException("Service Level is being used"));
|
||||
|
||||
if (res.IsSuccess)
|
||||
DataProvider.DeleteSupportServiceLevel(levelId);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
TaskManager.WriteError(ex);
|
||||
TaskManager.CompleteResultTask(res);
|
||||
res.AddError("", ex);
|
||||
return res;
|
||||
}
|
||||
|
||||
TaskManager.CompleteResultTask();
|
||||
return res;
|
||||
}
|
||||
|
||||
public static void UpdateSupportServiceLevel(int levelID, string levelName, string levelDescription)
|
||||
{
|
||||
// place log record
|
||||
TaskManager.StartTask("ORGANIZATION", "UPDATE_SUPPORT_SERVICE_LEVEL", levelID);
|
||||
|
||||
try
|
||||
{
|
||||
DataProvider.UpdateSupportServiceLevel(levelID, levelName, levelDescription);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw TaskManager.WriteError(ex);
|
||||
}
|
||||
finally
|
||||
{
|
||||
TaskManager.CompleteTask();
|
||||
}
|
||||
}
|
||||
|
||||
public static ServiceLevel[] GetSupportServiceLevels()
|
||||
{
|
||||
// place log record
|
||||
TaskManager.StartTask("ORGANIZATION", "GET_SUPPORT_SERVICE_LEVELS");
|
||||
|
||||
try
|
||||
{
|
||||
return ObjectUtils.CreateListFromDataReader<ServiceLevel>(DataProvider.GetSupportServiceLevels()).ToArray();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw TaskManager.WriteError(ex);
|
||||
}
|
||||
finally
|
||||
{
|
||||
TaskManager.CompleteTask();
|
||||
}
|
||||
}
|
||||
|
||||
public static ServiceLevel GetSupportServiceLevel(int levelID)
|
||||
{
|
||||
// place log record
|
||||
TaskManager.StartTask("ORGANIZATION", "GET_SUPPORT_SERVICE_LEVEL", levelID);
|
||||
|
||||
try
|
||||
{
|
||||
return ObjectUtils.FillObjectFromDataReader<ServiceLevel>(
|
||||
DataProvider.GetSupportServiceLevel(levelID));
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw TaskManager.WriteError(ex);
|
||||
}
|
||||
finally
|
||||
{
|
||||
TaskManager.CompleteTask();
|
||||
}
|
||||
}
|
||||
|
||||
private static bool CheckServiceLevelUsage(int levelID)
|
||||
{
|
||||
return DataProvider.CheckServiceLevelUsage(levelID);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,6 +31,7 @@ using System.ComponentModel;
|
|||
using System.Data;
|
||||
using System.Web.Services;
|
||||
using WebsitePanel.EnterpriseServer.Base.HostedSolution;
|
||||
using WebsitePanel.Providers.Common;
|
||||
using WebsitePanel.Providers.HostedSolution;
|
||||
using WebsitePanel.Providers.ResultObjects;
|
||||
|
||||
|
@ -194,14 +195,14 @@ namespace WebsitePanel.EnterpriseServer
|
|||
string lastName, string address, string city, string state, string zip, string country,
|
||||
string jobTitle, string company, string department, string office, string managerAccountName,
|
||||
string businessPhone, string fax, string homePhone, string mobilePhone, string pager,
|
||||
string webPage, string notes, string externalEmail, string subscriberNumber)
|
||||
string webPage, string notes, string externalEmail, string subscriberNumber, int levelId, bool isVIP)
|
||||
{
|
||||
return OrganizationController.SetUserGeneralSettings(itemId, accountId, displayName,
|
||||
password, hideAddressBook, disabled, locked, firstName, initials,
|
||||
lastName, address, city, state, zip, country,
|
||||
jobTitle, company, department, office, managerAccountName,
|
||||
businessPhone, fax, homePhone, mobilePhone, pager,
|
||||
webPage, notes, externalEmail, subscriberNumber);
|
||||
webPage, notes, externalEmail, subscriberNumber, levelId, isVIP);
|
||||
}
|
||||
|
||||
|
||||
|
@ -335,5 +336,39 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
#endregion
|
||||
|
||||
#region Service Levels
|
||||
|
||||
[WebMethod]
|
||||
public ServiceLevel[] GetSupportServiceLevels()
|
||||
{
|
||||
return OrganizationController.GetSupportServiceLevels();
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public void UpdateSupportServiceLevel(int levelID, string levelName, string levelDescription)
|
||||
{
|
||||
OrganizationController.UpdateSupportServiceLevel(levelID, levelName, levelDescription);
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public ResultObject DeleteSupportServiceLevel(int levelId)
|
||||
{
|
||||
return OrganizationController.DeleteSupportServiceLevel(levelId);
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public int AddSupportServiceLevel(string levelName, string levelDescription)
|
||||
{
|
||||
return OrganizationController.AddSupportServiceLevel(levelName, levelDescription);
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public ServiceLevel GetSupportServiceLevel(int levelID)
|
||||
{
|
||||
return OrganizationController.GetSupportServiceLevel(levelID);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,6 +51,8 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
string publicFolderPermission;
|
||||
string userPrincipalName;
|
||||
string notes;
|
||||
int levelId;
|
||||
bool isVip;
|
||||
|
||||
public int AccountId
|
||||
{
|
||||
|
@ -177,6 +179,20 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
set { this.enableArchiving = value; }
|
||||
}
|
||||
|
||||
|
||||
public bool IsVIP
|
||||
{
|
||||
get { return this.isVip; }
|
||||
set { this.isVip = value; }
|
||||
}
|
||||
|
||||
public int LevelId
|
||||
{
|
||||
get { return this.levelId; }
|
||||
set { this.levelId = value; }
|
||||
}
|
||||
|
||||
public bool Disabled { get; set; }
|
||||
|
||||
public bool Locked { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,6 +77,8 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
private OrganizationUser manager;
|
||||
private Guid crmUserId;
|
||||
|
||||
private int levelId;
|
||||
private bool isVip;
|
||||
|
||||
public Guid CrmUserId
|
||||
{
|
||||
|
@ -313,5 +315,17 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
}
|
||||
|
||||
|
||||
public int LevelId
|
||||
{
|
||||
get { return levelId; }
|
||||
set { levelId = value; }
|
||||
}
|
||||
|
||||
public bool IsVIP
|
||||
{
|
||||
get { return isVip; }
|
||||
set { isVip = value; }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
</Page>
|
||||
|
||||
<Page name="LoggedUserDetails" roles="Administrator,Reseller,PlatformCSR,ResellerCSR,PlatformHelpdesk,ResellerHelpdesk,User" hidden="True" skin="Edit.ascx">
|
||||
<Content id="LeftPane">
|
||||
<Module moduleDefinitionID="UserAccountMenu" title="UserMenu" container="Clear.ascx">
|
||||
<ModuleData ref="UserMenu"/>
|
||||
</Module>
|
||||
</Content>
|
||||
<Content id="ContentPane">
|
||||
<Module moduleDefinitionID="LoggedUserDetails" title="LoggedUserDetails" icon="user_write_48.png" container="Edit.ascx" />
|
||||
</Content>
|
||||
|
|
|
@ -3219,7 +3219,7 @@
|
|||
</data>
|
||||
<data name="Warning.2613" xml:space="preserve">
|
||||
<value>Invalid recoverable items quota specified, should be greater or equal to 6144MB</value>
|
||||
</data>
|
||||
</data>
|
||||
<data name="AuditLogTask.EXCHANGE_CALCULATE_DISKSPACE" xml:space="preserve">
|
||||
<value>Calculate organization disk space</value>
|
||||
</data>
|
||||
|
@ -5572,4 +5572,16 @@
|
|||
<data name="Text.Tasks" xml:space="preserve">
|
||||
<value>Tasks</value>
|
||||
</data>
|
||||
<data name="ResourceGroup.Service Levels" xml:space="preserve">
|
||||
<value>Service Levels</value>
|
||||
</data>
|
||||
<data name="Error.ADD_SERVICE_LEVEL" xml:space="preserve">
|
||||
<value>Service Level with this name is already exists</value>
|
||||
</data>
|
||||
<data name="Error.DELETE_SERVICE_LEVEL" xml:space="preserve">
|
||||
<value>Delete Service Level Error</value>
|
||||
</data>
|
||||
<data name="Error.SERVICE_LEVEL_IN_USE" xml:space="preserve">
|
||||
<value>Unable to remove Service Level because it is being used</value>
|
||||
</data>
|
||||
</root>
|
Binary file not shown.
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 222 B |
Binary file not shown.
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 233 B |
Binary file not shown.
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 369 B |
|
@ -15,9 +15,11 @@ body {font-family:'Segoe UI','Open Sans',Arial; color:#333; margin:0px; padding:
|
|||
#Header .Account {text-align:right; padding:3px 6px 0 0;}
|
||||
#TopMenu {position:relative; width:100%; min-width:880px; height:40px; background:#2e8bcc; z-index:99;}
|
||||
#TopMenu .Account { float:right; color: #ffffff; height:100%;}
|
||||
#TopMenu .Account div { padding-top:8px;}
|
||||
#TopMenu .Account div a{ color: #ffffff;}
|
||||
#TopMenu .Account div input{ display:inline; vertical-align:middle;}
|
||||
#TopMenu .Account div { padding-top:9.5px;}
|
||||
#TopMenu .Account div a{ color: #ffffff; font-size: 12px; text-transform: uppercase; text-decoration: none; opacity: 0.9;}
|
||||
#TopMenu .Account div a:hover {filter:alpha(opacity=100); opacity:1;}
|
||||
#TopMenu .Account div input{ display:inline; vertical-align:middle; margin-right:4px; opacity: 0.9;}
|
||||
#TopMenu .Account div input:hover {filter:alpha(opacity=100); opacity:1;}
|
||||
#Breadcrumb {margin:10px;}
|
||||
#Breadcrumb .Path {padding: 10px 5px 12px 25px; margin-bottom:20px; background-color:#f5f5f5;}
|
||||
#Breadcrumb .Path img {display:none;}
|
||||
|
|
|
@ -0,0 +1,144 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="btnAddServiceLevel.Text" xml:space="preserve">
|
||||
<value>Add New</value>
|
||||
</data>
|
||||
<data name="gvServiceLevels.Empty" xml:space="preserve">
|
||||
<value>No service levels have been added yet. To add a new service level set params and click "Add New" button.</value>
|
||||
</data>
|
||||
<data name="valRequireServiceLevelName.ErrorMessage" xml:space="preserve">
|
||||
<value>Please enter service level name</value>
|
||||
</data>
|
||||
<data name="valRequireServiceLevelName.Text" xml:space="preserve">
|
||||
<value>*</value>
|
||||
</data>
|
||||
<data name="btnUpdateServiceLevel.Text" xml:space="preserve">
|
||||
<value>Update</value>
|
||||
</data>
|
||||
<data name="lblServiceLevelDescr.Text" xml:space="preserve">
|
||||
<value>Description:</value>
|
||||
</data>
|
||||
<data name="lblServiceLevelName.Text" xml:space="preserve">
|
||||
<value>Name:</value>
|
||||
</data>
|
||||
<data name="secServiceLevel.Text" xml:space="preserve">
|
||||
<value>Service Level</value>
|
||||
</data>
|
||||
</root>
|
|
@ -150,4 +150,7 @@
|
|||
<data name="lnkWebPolicy.Text" xml:space="preserve">
|
||||
<value>WEB Policy</value>
|
||||
</data>
|
||||
<data name="lnkServiceLevels.Text" xml:space="preserve">
|
||||
<value>Service Levels</value>
|
||||
</data>
|
||||
</root>
|
|
@ -177,4 +177,7 @@
|
|||
<data name="locTitleArchiving.Text" xml:space="preserve">
|
||||
<value>Archiving Mailboxes</value>
|
||||
</data>
|
||||
<data name="gvServiceLevel.Header" xml:space="preserve">
|
||||
<value>Service Level</value>
|
||||
</data>
|
||||
</root>
|
|
@ -246,4 +246,13 @@
|
|||
<data name="chkInherit.Text" xml:space="preserve">
|
||||
<value>Update Services</value>
|
||||
</data>
|
||||
<data name="locServiceLevel.Text" xml:space="preserve">
|
||||
<value>Service Level:</value>
|
||||
</data>
|
||||
<data name="locVIPUser.Text" xml:space="preserve">
|
||||
<value>VIP:</value>
|
||||
</data>
|
||||
<data name="secServiceLevels.Text" xml:space="preserve">
|
||||
<value>Service Level Information</value>
|
||||
</data>
|
||||
</root>
|
|
@ -180,4 +180,7 @@
|
|||
<data name="gvUsersLogin.Header" xml:space="preserve">
|
||||
<value>Login</value>
|
||||
</data>
|
||||
<data name="gvServiceLevel.Header" xml:space="preserve">
|
||||
<value>Service Level</value>
|
||||
</data>
|
||||
</root>
|
|
@ -213,7 +213,9 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
null,
|
||||
null,
|
||||
user.ExternalEmail,
|
||||
txtSubscriberNumber.Text);
|
||||
txtSubscriberNumber.Text,
|
||||
0,
|
||||
false);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -52,10 +52,16 @@
|
|||
OnRowCommand="gvMailboxes_RowCommand" AllowPaging="True" AllowSorting="True"
|
||||
DataSourceID="odsAccountsPaged" PageSize="20">
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
<asp:Image ID="img2" runat="server" Width="16px" Height="16px" ImageUrl='<%# GetStateImage((bool)Eval("Locked"),(bool)Eval("Disabled")) %>' ImageAlign="AbsMiddle" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="gvMailboxesDisplayName" SortExpression="DisplayName">
|
||||
<ItemStyle Width="40%"></ItemStyle>
|
||||
<ItemStyle Width="20%"></ItemStyle>
|
||||
<ItemTemplate>
|
||||
<asp:Image ID="img1" runat="server" ImageUrl='<%# GetAccountImage((int)Eval("AccountType")) %>' ImageAlign="AbsMiddle" />
|
||||
<asp:Image ID="img1" runat="server" ImageUrl='<%# GetAccountImage((int)Eval("AccountType"),(bool)Eval("IsVIP")) %>' ImageAlign="AbsMiddle" />
|
||||
<asp:Label runat="server" Text='<%# (bool)Eval("IsVIP") ? "*" : string.Empty %>' style="font-weight:bold;"/>
|
||||
<asp:hyperlink id="lnk1" runat="server"
|
||||
NavigateUrl='<%# GetMailboxEditUrl(Eval("AccountId").ToString()) %>'>
|
||||
<%# Eval("DisplayName") %>
|
||||
|
@ -63,7 +69,7 @@
|
|||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="gvUsersLogin" SortExpression="UserPrincipalName">
|
||||
<ItemStyle></ItemStyle>
|
||||
<ItemStyle Width="20%"></ItemStyle>
|
||||
<ItemTemplate>
|
||||
<asp:hyperlink id="lnk2" runat="server"
|
||||
NavigateUrl='<%# GetOrganizationUserEditUrl(Eval("AccountId").ToString()) %>'>
|
||||
|
@ -71,6 +77,14 @@
|
|||
</asp:hyperlink>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="gvServiceLevel">
|
||||
<ItemStyle Width="20%"></ItemStyle>
|
||||
<ItemTemplate>
|
||||
<asp:Label id="lbServLevel" runat="server" ToolTip = '<%# GetServiceLevel((int)Eval("LevelId")).LevelDescription%>'>
|
||||
<%# GetServiceLevel((int)Eval("LevelId")).LevelName%>
|
||||
</asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField HeaderText="gvMailboxesEmail" DataField="PrimaryEmailAddress" SortExpression="PrimaryEmailAddress" ItemStyle-Width="25%" />
|
||||
<asp:BoundField HeaderText="gvSubscriberNumber" DataField="SubscriberNumber" ItemStyle-Width="10%" />
|
||||
<asp:BoundField HeaderText="gvMailboxesMailboxPlan" DataField="MailboxPlan" SortExpression="MailboxPlan" ItemStyle-Width="50%" />
|
||||
|
|
|
@ -27,9 +27,11 @@
|
|||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Web.UI.WebControls;
|
||||
using WebsitePanel.Providers.HostedSolution;
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
using WebsitePanel.EnterpriseServer.Base.HostedSolution;
|
||||
|
||||
namespace WebsitePanel.Portal.ExchangeServer
|
||||
{
|
||||
|
@ -43,6 +45,8 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
}
|
||||
}
|
||||
|
||||
private ServiceLevel[] ServiceLevels;
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
locTitle.Text = ArchivingBoxes ? GetLocalizedString("locTitleArchiving.Text") : GetLocalizedString("locTitle.Text");
|
||||
|
@ -54,14 +58,23 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
BindStats();
|
||||
}
|
||||
|
||||
BindServiceLevels();
|
||||
|
||||
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||
if (cntx.Quotas.ContainsKey(Quotas.EXCHANGE2007_ISCONSUMER))
|
||||
{
|
||||
if (cntx.Quotas[Quotas.EXCHANGE2007_ISCONSUMER].QuotaAllocatedValue != 1)
|
||||
{
|
||||
gvMailboxes.Columns[3].Visible = false;
|
||||
gvMailboxes.Columns[4].Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
gvMailboxes.Columns[3].Visible = cntx.Groups.ContainsKey(ResourceGroups.ServiceLevels);
|
||||
}
|
||||
|
||||
private void BindServiceLevels()
|
||||
{
|
||||
ServiceLevels = ES.Services.Organizations.GetSupportServiceLevels();
|
||||
}
|
||||
|
||||
private void BindStats()
|
||||
|
@ -96,7 +109,7 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
}
|
||||
}
|
||||
|
||||
public string GetAccountImage(int accountTypeId)
|
||||
public string GetAccountImage(int accountTypeId, bool vip)
|
||||
{
|
||||
ExchangeAccountType accountType = (ExchangeAccountType)accountTypeId;
|
||||
string imgName = "mailbox_16.gif";
|
||||
|
@ -109,6 +122,21 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
else if (accountType == ExchangeAccountType.Equipment)
|
||||
imgName = "equipment_16.gif";
|
||||
|
||||
if (vip) imgName = "admin_16.png";
|
||||
|
||||
return GetThemedImage("Exchange/" + imgName);
|
||||
}
|
||||
|
||||
public string GetStateImage(bool locked, bool disabled)
|
||||
{
|
||||
string imgName = "enabled.png";
|
||||
|
||||
if (locked)
|
||||
imgName = "locked.png";
|
||||
else
|
||||
if (disabled)
|
||||
imgName = "disabled.png";
|
||||
|
||||
return GetThemedImage("Exchange/" + imgName);
|
||||
}
|
||||
|
||||
|
@ -166,5 +194,10 @@ namespace WebsitePanel.Portal.ExchangeServer
|
|||
{
|
||||
e.InputParameters["archiving"] = ArchivingBoxes;
|
||||
}
|
||||
|
||||
public ServiceLevel GetServiceLevel(int levelId)
|
||||
{
|
||||
return ServiceLevels.Where(x => x.LevelId == levelId).DefaultIfEmpty(new ServiceLevel { LevelName = "", LevelDescription = "" }).FirstOrDefault();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,31 +1,3 @@
|
|||
// Copyright (c) 2014, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (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.
|
||||
|
|
|
@ -167,7 +167,9 @@ namespace WebsitePanel.Portal.HostedSolution
|
|||
null,
|
||||
null,
|
||||
user.ExternalEmail,
|
||||
txtSubscriberNumber.Text);
|
||||
txtSubscriberNumber.Text,
|
||||
0,
|
||||
false);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -117,12 +117,34 @@
|
|||
<asp:TextBox ID="txtNotes" runat="server" CssClass="TextBox200" Rows="4" TextMode="MultiLine"></asp:TextBox>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
<wsp:CollapsiblePanel id="secServiceLevels" runat="server" IsCollapsed="true"
|
||||
TargetControlID="ServiceLevels" meta:resourcekey="secServiceLevels" Text="Service Level Information">
|
||||
</wsp:CollapsiblePanel>
|
||||
|
||||
<asp:Panel ID="ServiceLevels" runat="server" Height="0" style="overflow:hidden;">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="FormLabel150"><asp:Localize ID="locServiceLevel" runat="server" meta:resourcekey="locServiceLevel" Text="Service Level:"></asp:Localize></td>
|
||||
<td>
|
||||
<asp:DropDownList ID="ddlServiceLevels" DataValueField="LevelId" DataTextField="LevelName" runat="server"></asp:DropDownList>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="FormLabel150"><asp:Localize ID="locVIPUser" runat="server" meta:resourcekey="locVIPUser" Text="VIP:"></asp:Localize></td>
|
||||
<td>
|
||||
<asp:CheckBox ID="chkVIP" runat="server"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</asp:Panel>
|
||||
|
||||
|
||||
<wsp:CollapsiblePanel id="secCompanyInfo" runat="server" IsCollapsed="true"
|
||||
TargetControlID="CompanyInfo" meta:resourcekey="secCompanyInfo" Text="Company Information">
|
||||
</wsp:CollapsiblePanel>
|
||||
|
||||
<asp:Panel ID="CompanyInfo" runat="server" Height="0" style="overflow:hidden;">
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -207,6 +229,7 @@
|
|||
<wsp:CollapsiblePanel id="secAddressInfo" runat="server" IsCollapsed="true"
|
||||
TargetControlID="AddressInfo" meta:resourcekey="secAddressInfo" Text="Address">
|
||||
</wsp:CollapsiblePanel>
|
||||
|
||||
<asp:Panel ID="AddressInfo" runat="server" Height="0" style="overflow:hidden;">
|
||||
<table>
|
||||
<tr>
|
||||
|
|
|
@ -27,8 +27,11 @@
|
|||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web.UI.WebControls;
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
using WebsitePanel.EnterpriseServer.Base.HostedSolution;
|
||||
using WebsitePanel.Providers.HostedSolution;
|
||||
using WebsitePanel.Providers.ResultObjects;
|
||||
|
||||
|
@ -40,6 +43,8 @@ namespace WebsitePanel.Portal.HostedSolution
|
|||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
BindServiceLevels();
|
||||
|
||||
BindSettings();
|
||||
|
||||
MailboxTabsId.Visible = (PanelRequest.Context == "Mailbox");
|
||||
|
@ -81,6 +86,18 @@ namespace WebsitePanel.Portal.HostedSolution
|
|||
txtInitials.Text = user.Initials;
|
||||
txtLastName.Text = user.LastName;
|
||||
|
||||
if (user.LevelId > 0 && secServiceLevels.Visible)
|
||||
{
|
||||
ServiceLevel serviceLevel = ES.Services.Organizations.GetSupportServiceLevel(user.LevelId);
|
||||
|
||||
if (ddlServiceLevels.Items.FindByValue(serviceLevel.LevelId.ToString()) == null)
|
||||
ddlServiceLevels.Items.Add(new ListItem(serviceLevel.LevelName, serviceLevel.LevelId.ToString()));
|
||||
|
||||
ddlServiceLevels.Items.FindByValue(string.Empty).Selected = false;
|
||||
ddlServiceLevels.Items.FindByValue(serviceLevel.LevelId.ToString()).Selected = true;
|
||||
}
|
||||
chkVIP.Checked = user.IsVIP && secServiceLevels.Visible;
|
||||
|
||||
txtJobTitle.Text = user.JobTitle;
|
||||
txtCompany.Text = user.Company;
|
||||
txtDepartment.Text = user.Department;
|
||||
|
@ -196,6 +213,51 @@ namespace WebsitePanel.Portal.HostedSolution
|
|||
}
|
||||
}
|
||||
|
||||
private void BindServiceLevels()
|
||||
{
|
||||
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||
|
||||
if (cntx.Groups.ContainsKey(ResourceGroups.ServiceLevels))
|
||||
{
|
||||
List<ServiceLevel> enabledServiceLevels = new List<ServiceLevel>();
|
||||
|
||||
foreach (var quota in cntx.Quotas.Where(x => x.Key.Contains(Quotas.SERVICE_LEVELS)))
|
||||
{
|
||||
foreach (var serviceLevel in ES.Services.Organizations.GetSupportServiceLevels())
|
||||
{
|
||||
if (quota.Key.Replace(Quotas.SERVICE_LEVELS, "") == serviceLevel.LevelName && CheckServiceLevelQuota(quota.Value, serviceLevel.LevelId))
|
||||
{
|
||||
enabledServiceLevels.Add(serviceLevel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ddlServiceLevels.DataSource = enabledServiceLevels;
|
||||
ddlServiceLevels.DataTextField = "LevelName";
|
||||
ddlServiceLevels.DataValueField = "LevelId";
|
||||
ddlServiceLevels.DataBind();
|
||||
|
||||
ddlServiceLevels.Items.Insert(0, new ListItem("<Select Service Level>", string.Empty));
|
||||
ddlServiceLevels.Items.FindByValue(string.Empty).Selected = true;
|
||||
|
||||
secServiceLevels.Visible = true;
|
||||
}
|
||||
else { secServiceLevels.Visible = false; }
|
||||
|
||||
}
|
||||
|
||||
private bool CheckServiceLevelQuota(QuotaValueInfo quota, int levelID)
|
||||
{
|
||||
quota.QuotaUsedValue = ES.Services.Organizations.SearchAccounts(PanelRequest.ItemID, "", "", "", true).Where(x => x.LevelId == levelID).Count();
|
||||
|
||||
if (quota.QuotaAllocatedValue != -1)
|
||||
{
|
||||
return quota.QuotaAllocatedValue > quota.QuotaUsedValue;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
private void SaveSettings()
|
||||
{
|
||||
if (!Page.IsValid)
|
||||
|
@ -235,7 +297,9 @@ namespace WebsitePanel.Portal.HostedSolution
|
|||
txtWebPage.Text,
|
||||
txtNotes.Text,
|
||||
txtExternalEmailAddress.Text,
|
||||
txtSubscriberNumber.Text);
|
||||
txtSubscriberNumber.Text,
|
||||
string.IsNullOrEmpty(ddlServiceLevels.SelectedValue) ? 0 : int.Parse(ddlServiceLevels.SelectedValue),
|
||||
chkVIP.Checked);
|
||||
|
||||
if (result < 0)
|
||||
{
|
||||
|
|
|
@ -1,31 +1,3 @@
|
|||
// Copyright (c) 2014, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (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.
|
||||
|
@ -346,6 +318,60 @@ namespace WebsitePanel.Portal.HostedSolution {
|
|||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtNotes;
|
||||
|
||||
/// <summary>
|
||||
/// secServiceLevels control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.CollapsiblePanel secServiceLevels;
|
||||
|
||||
/// <summary>
|
||||
/// ServiceLevels control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel ServiceLevels;
|
||||
|
||||
/// <summary>
|
||||
/// locServiceLevel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locServiceLevel;
|
||||
|
||||
/// <summary>
|
||||
/// ddlServiceLevels control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlServiceLevels;
|
||||
|
||||
/// <summary>
|
||||
/// locVIPUser control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Localize locVIPUser;
|
||||
|
||||
/// <summary>
|
||||
/// chkVIP control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.CheckBox chkVIP;
|
||||
|
||||
/// <summary>
|
||||
/// secCompanyInfo control.
|
||||
/// </summary>
|
||||
|
|
|
@ -59,9 +59,10 @@
|
|||
</asp:TemplateField>
|
||||
|
||||
<asp:TemplateField HeaderText="gvUsersDisplayName" SortExpression="DisplayName">
|
||||
<ItemStyle Width="50%"></ItemStyle>
|
||||
<ItemStyle Width="25%"></ItemStyle>
|
||||
<ItemTemplate>
|
||||
<asp:Image ID="img1" runat="server" ImageUrl='<%# GetAccountImage((int)Eval("AccountType")) %>' ImageAlign="AbsMiddle" />
|
||||
<asp:Image ID="img1" runat="server" ImageUrl='<%# GetAccountImage((int)Eval("AccountType"),(bool)Eval("IsVIP")) %>' ImageAlign="AbsMiddle"/>
|
||||
<asp:Label runat="server" Text='<%# (bool)Eval("IsVIP") ? "*" : string.Empty %>' style="font-weight:bold;"/>
|
||||
<asp:hyperlink id="lnk1" runat="server"
|
||||
NavigateUrl='<%# GetUserEditUrl(Eval("AccountId").ToString()) %>'>
|
||||
<%# Eval("DisplayName") %>
|
||||
|
@ -69,8 +70,16 @@
|
|||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField HeaderText="gvUsersLogin" DataField="UserPrincipalName" SortExpression="UserPrincipalName" ItemStyle-Width="25%" />
|
||||
<asp:TemplateField HeaderText="gvServiceLevel">
|
||||
<ItemStyle Width="25%"></ItemStyle>
|
||||
<ItemTemplate>
|
||||
<asp:Label id="lbServLevel" runat="server" ToolTip = '<%# GetServiceLevel((int)Eval("LevelId")).LevelDescription%>'>
|
||||
<%# GetServiceLevel((int)Eval("LevelId")).LevelName%>
|
||||
</asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField HeaderText="gvUsersEmail" DataField="PrimaryEmailAddress" SortExpression="PrimaryEmailAddress" ItemStyle-Width="25%" />
|
||||
<asp:BoundField HeaderText="gvSubscriberNumber" DataField="SubscriberNumber" ItemStyle-Width="25%" />
|
||||
<asp:BoundField HeaderText="gvSubscriberNumber" DataField="SubscriberNumber" ItemStyle-Width="20%" />
|
||||
<asp:TemplateField ItemStyle-Wrap="False">
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="Image2" runat="server" Width="16px" Height="16px" ToolTip="Mail" ImageUrl='<%# GetMailImage((int)Eval("AccountType")) %>' CommandName="OpenMailProperties" CommandArgument='<%# Eval("AccountId") %>' Enabled=<%# EnableMailImageButton((int)Eval("AccountType")) %>/>
|
||||
|
|
|
@ -27,32 +27,42 @@
|
|||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web.UI.WebControls;
|
||||
using WebsitePanel.Providers.HostedSolution;
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
using WebsitePanel.EnterpriseServer.Base.HostedSolution;
|
||||
|
||||
namespace WebsitePanel.Portal.HostedSolution
|
||||
{
|
||||
public partial class OrganizationUsers : WebsitePanelModuleBase
|
||||
{
|
||||
private ServiceLevel[] ServiceLevels;
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
{
|
||||
BindStats();
|
||||
}
|
||||
|
||||
BindServiceLevels();
|
||||
|
||||
PackageContext cntx = PackagesHelper.GetCachedPackageContext(PanelSecurity.PackageId);
|
||||
if (cntx.Quotas.ContainsKey(Quotas.EXCHANGE2007_ISCONSUMER))
|
||||
{
|
||||
if (cntx.Quotas[Quotas.EXCHANGE2007_ISCONSUMER].QuotaAllocatedValue != 1)
|
||||
{
|
||||
gvUsers.Columns[4].Visible = false;
|
||||
gvUsers.Columns[5].Visible = false;
|
||||
}
|
||||
}
|
||||
gvUsers.Columns[3].Visible = cntx.Groups.ContainsKey(ResourceGroups.ServiceLevels);
|
||||
}
|
||||
|
||||
|
||||
private void BindServiceLevels()
|
||||
{
|
||||
ServiceLevels = ES.Services.Organizations.GetSupportServiceLevels();
|
||||
}
|
||||
|
||||
private void BindStats()
|
||||
|
@ -164,7 +174,7 @@ namespace WebsitePanel.Portal.HostedSolution
|
|||
}
|
||||
|
||||
|
||||
public string GetAccountImage(int accountTypeId)
|
||||
public string GetAccountImage(int accountTypeId, bool vip)
|
||||
{
|
||||
string imgName = string.Empty;
|
||||
|
||||
|
@ -181,6 +191,7 @@ namespace WebsitePanel.Portal.HostedSolution
|
|||
imgName = "admin_16.png";
|
||||
break;
|
||||
}
|
||||
if (vip) imgName = "admin_16.png";
|
||||
|
||||
return GetThemedImage("Exchange/" + imgName);
|
||||
}
|
||||
|
@ -298,8 +309,9 @@ namespace WebsitePanel.Portal.HostedSolution
|
|||
return accountID.ToString() + "|" + IsOCS.ToString() + "|" + IsLync.ToString();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public ServiceLevel GetServiceLevel(int levelId)
|
||||
{
|
||||
return ServiceLevels.Where(x => x.LevelId == levelId).DefaultIfEmpty(new ServiceLevel { LevelName = "", LevelDescription = "" }).FirstOrDefault();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,31 +1,3 @@
|
|||
// Copyright (c) 2014, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (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.
|
||||
|
|
|
@ -100,7 +100,7 @@ namespace WebsitePanel.Portal
|
|||
// rebind settings
|
||||
BindSettings();
|
||||
}
|
||||
else
|
||||
else if (!SettingsName.Equals("ServiceLevels"))
|
||||
{
|
||||
ToggleControls();
|
||||
}
|
||||
|
|
|
@ -0,0 +1,84 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SettingsServiceLevels.ascx.cs" Inherits="WebsitePanel.Portal.SettingsServiceLevels" %>
|
||||
<%@ Register Src="UserControls/CollapsiblePanel.ascx" TagName="CollapsiblePanel" TagPrefix="wsp" %>
|
||||
<%@ Register Src="UserControls/SimpleMessageBox.ascx" TagName="SimpleMessageBox" TagPrefix="wsp" %>
|
||||
<%@ Register Src="UserControls/EnableAsyncTasksSupport.ascx" TagName="EnableAsyncTasksSupport" TagPrefix="wsp" %>
|
||||
<%@ Import Namespace="WebsitePanel.Portal" %>
|
||||
|
||||
<wsp:EnableAsyncTasksSupport id="asyncTasks" runat="server"/>
|
||||
<wsp:SimpleMessageBox id="messageBox" runat="server" />
|
||||
<asp:GridView id="gvServiceLevels" runat="server" EnableViewState="true" AutoGenerateColumns="false"
|
||||
Width="100%" EmptyDataText="gvServiceLevels" CssSelectorClass="NormalGridView" OnRowCommand="gvServiceLevels_RowCommand">
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="Edit">
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton ID="cmdEdit" runat="server" SkinID="EditSmall" CommandName="EditItem" AlternateText="Edit record" CommandArgument='<%# Eval("LevelId") %>' ></asp:ImageButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Service Level">
|
||||
<ItemStyle Width="30%"></ItemStyle>
|
||||
<ItemTemplate>
|
||||
<asp:Label id="lnkServiceLevel" runat="server" EnableViewState="true" ><%# PortalAntiXSS.Encode((string)Eval("LevelName"))%></asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Description">
|
||||
<ItemStyle Width="60%"></ItemStyle>
|
||||
<ItemTemplate>
|
||||
<asp:Label id="lnkServiceLevelDescription" runat="server" EnableViewState="true" ><%# PortalAntiXSS.Encode((string)Eval("LevelDescription"))%></asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
<asp:ImageButton id="imgDelMailboxPlan" runat="server" Text="Delete" SkinID="ExchangeDelete"
|
||||
CommandName="DeleteItem" CommandArgument='<%# Eval("LevelId") %>'
|
||||
meta:resourcekey="cmdDelete" OnClientClick="return confirm('Are you sure you want to delete selected service level?')"></asp:ImageButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<br />
|
||||
|
||||
<wsp:CollapsiblePanel id="secServiceLevel" runat="server"
|
||||
TargetControlID="ServiceLevel" meta:resourcekey="secServiceLevel" Text="Service Level">
|
||||
</wsp:CollapsiblePanel>
|
||||
<asp:Panel ID="ServiceLevel" runat="server" Height="0" style="overflow:hidden;">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="FormLabel200" align="right">
|
||||
<asp:Label ID="lblServiceLevelName" runat="server" meta:resourcekey="lblServiceLevelName" Text="Name:"></asp:Label>
|
||||
</td>
|
||||
<td class="Normal">
|
||||
<asp:TextBox ID="txtServiceLevelName" runat="server" Width="100%" CssClass="NormalTextBox" MaxLength="255"></asp:TextBox>
|
||||
<asp:RequiredFieldValidator ID="valRequireServiceLevelName" runat="server" meta:resourcekey="valRequireServiceLevelName" ControlToValidate="txtServiceLevelName"
|
||||
ErrorMessage="Enter service level name" ValidationGroup="CreateServiceLevel" Display="Dynamic" Text="*" SetFocusOnError="True"></asp:RequiredFieldValidator>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="FormLabel200" align="right">
|
||||
<asp:Label ID="lblServiceLevelDescr" runat="server" meta:resourcekey="lblServiceLevelDescr" Text="Description:"></asp:Label>
|
||||
</td>
|
||||
<td class="Normal" valign=top>
|
||||
<asp:TextBox ID="txtServiceLevelDescr" runat="server" Rows="10" TextMode="MultiLine" Width="100%" CssClass="NormalTextBox" Wrap="False" MaxLength="511"></asp:TextBox></td>
|
||||
</tr>
|
||||
</table>
|
||||
</asp:Panel>
|
||||
<br />
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="FormButtonsBarClean">
|
||||
<asp:Button ID="btnAddServiceLevel" runat="server" meta:resourcekey="btnAddServiceLevel"
|
||||
Text="Add New" CssClass="Button1" OnClick="btnAddServiceLevel_Click" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="FormButtonsBarClean">
|
||||
<asp:Button ID="btnUpdateServiceLevel" runat="server" meta:resourcekey="btnUpdateServiceLevel"
|
||||
Text="Update" CssClass="Button1" OnClick="btnUpdateServiceLevel_Click" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
<asp:TextBox ID="txtStatus" runat="server" CssClass="TextBox400" MaxLength="128" ReadOnly="true"></asp:TextBox>
|
||||
|
|
@ -0,0 +1,176 @@
|
|||
// Copyright (c) 2012, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
using WebsitePanel.EnterpriseServer.Base.HostedSolution;
|
||||
using WebsitePanel.Providers.HostedSolution;
|
||||
using WebsitePanel.Providers.ResultObjects;
|
||||
using WebsitePanel.Providers.Common;
|
||||
|
||||
namespace WebsitePanel.Portal
|
||||
{
|
||||
public partial class SettingsServiceLevels : WebsitePanelControlBase, IUserSettingsEditorControl
|
||||
{
|
||||
|
||||
|
||||
public void BindSettings(UserSettings settings)
|
||||
{
|
||||
if (PanelSecurity.SelectedUser.Role == UserRole.Administrator)
|
||||
BindServiceLevels();
|
||||
|
||||
txtStatus.Visible = false;
|
||||
}
|
||||
|
||||
|
||||
private void BindServiceLevels()
|
||||
{
|
||||
ServiceLevel[] array = ES.Services.Organizations.GetSupportServiceLevels();
|
||||
|
||||
gvServiceLevels.DataSource = array;
|
||||
gvServiceLevels.DataBind();
|
||||
|
||||
btnAddServiceLevel.Enabled = (string.IsNullOrEmpty(txtServiceLevelName.Text)) ? true : false;
|
||||
btnUpdateServiceLevel.Enabled = (string.IsNullOrEmpty(txtServiceLevelName.Text)) ? false : true;
|
||||
}
|
||||
|
||||
|
||||
public void btnAddServiceLevel_Click(object sender, EventArgs e)
|
||||
{
|
||||
Page.Validate("CreateServiceLevel");
|
||||
|
||||
if (!Page.IsValid)
|
||||
return;
|
||||
|
||||
ServiceLevel serviceLevel = new ServiceLevel();
|
||||
|
||||
int res = ES.Services.Organizations.AddSupportServiceLevel(txtServiceLevelName.Text, txtServiceLevelDescr.Text);
|
||||
|
||||
if (res < 0)
|
||||
{
|
||||
messageBox.ShowErrorMessage("ADD_SERVICE_LEVEL");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
txtServiceLevelName.Text = string.Empty;
|
||||
txtServiceLevelDescr.Text = string.Empty;
|
||||
|
||||
BindServiceLevels();
|
||||
}
|
||||
|
||||
|
||||
protected void gvServiceLevels_RowCommand(object sender, GridViewCommandEventArgs e)
|
||||
{
|
||||
int levelID = Utils.ParseInt(e.CommandArgument.ToString(), 0);
|
||||
|
||||
switch (e.CommandName)
|
||||
{
|
||||
case "DeleteItem":
|
||||
|
||||
ResultObject result = ES.Services.Organizations.DeleteSupportServiceLevel(levelID);
|
||||
|
||||
if (!result.IsSuccess)
|
||||
{
|
||||
if (result.ErrorCodes.Contains("SERVICE_LEVEL_IN_USE:Service Level is being used; ")) messageBox.ShowErrorMessage("SERVICE_LEVEL_IN_USE");
|
||||
else messageBox.ShowMessage(result, "DELETE_SERVICE_LEVEL", null);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
ViewState["ServiceLevelID"] = null;
|
||||
|
||||
txtServiceLevelName.Text = string.Empty;
|
||||
txtServiceLevelDescr.Text = string.Empty;
|
||||
|
||||
BindServiceLevels();
|
||||
break;
|
||||
|
||||
case "EditItem":
|
||||
ServiceLevel serviceLevel;
|
||||
|
||||
ViewState["ServiceLevelID"] = levelID;
|
||||
|
||||
serviceLevel = ES.Services.Organizations.GetSupportServiceLevel(levelID);
|
||||
|
||||
txtServiceLevelName.Text = serviceLevel.LevelName;
|
||||
txtServiceLevelDescr.Text = serviceLevel.LevelDescription;
|
||||
|
||||
btnUpdateServiceLevel.Enabled = (string.IsNullOrEmpty(txtServiceLevelName.Text)) ? false : true;
|
||||
btnAddServiceLevel.Enabled = (string.IsNullOrEmpty(txtServiceLevelName.Text)) ? true : false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void SaveSettings(UserSettings settings)
|
||||
{
|
||||
settings["ServiceLevels"] = "";
|
||||
}
|
||||
|
||||
|
||||
protected void btnUpdateServiceLevel_Click(object sender, EventArgs e)
|
||||
{
|
||||
Page.Validate("CreateServiceLevel");
|
||||
|
||||
if (!Page.IsValid)
|
||||
return;
|
||||
|
||||
if (ViewState["ServiceLevelID"] == null)
|
||||
return;
|
||||
|
||||
int levelID = (int)ViewState["ServiceLevelID"];
|
||||
|
||||
ES.Services.Organizations.UpdateSupportServiceLevel(levelID, txtServiceLevelName.Text, txtServiceLevelDescr.Text);
|
||||
|
||||
txtServiceLevelName.Text = string.Empty;
|
||||
txtServiceLevelDescr.Text = string.Empty;
|
||||
|
||||
BindServiceLevels();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,132 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebsitePanel.Portal {
|
||||
|
||||
|
||||
public partial class SettingsServiceLevels {
|
||||
|
||||
/// <summary>
|
||||
/// asyncTasks control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.EnableAsyncTasksSupport asyncTasks;
|
||||
|
||||
/// <summary>
|
||||
/// messageBox control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.UserControls.SimpleMessageBox messageBox;
|
||||
|
||||
/// <summary>
|
||||
/// gvServiceLevels control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView gvServiceLevels;
|
||||
|
||||
/// <summary>
|
||||
/// secServiceLevel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::WebsitePanel.Portal.CollapsiblePanel secServiceLevel;
|
||||
|
||||
/// <summary>
|
||||
/// ServiceLevel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel ServiceLevel;
|
||||
|
||||
/// <summary>
|
||||
/// lblServiceLevelName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblServiceLevelName;
|
||||
|
||||
/// <summary>
|
||||
/// txtServiceLevelName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtServiceLevelName;
|
||||
|
||||
/// <summary>
|
||||
/// valRequireServiceLevelName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.RequiredFieldValidator valRequireServiceLevelName;
|
||||
|
||||
/// <summary>
|
||||
/// lblServiceLevelDescr control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblServiceLevelDescr;
|
||||
|
||||
/// <summary>
|
||||
/// txtServiceLevelDescr control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtServiceLevelDescr;
|
||||
|
||||
/// <summary>
|
||||
/// btnAddServiceLevel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnAddServiceLevel;
|
||||
|
||||
/// <summary>
|
||||
/// btnUpdateServiceLevel control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnUpdateServiceLevel;
|
||||
|
||||
/// <summary>
|
||||
/// txtStatus control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtStatus;
|
||||
}
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
<asp:HyperLink ID="lnkSignIn" runat="server" meta:resourcekey="lnkSignIn">Sign In</asp:HyperLink>
|
||||
</asp:Panel>
|
||||
<asp:Panel ID="LoggedPanel" runat="server">
|
||||
<strong><asp:HyperLink ID="lnkEditUserDetails" runat="server" meta:resourcekey="lnkEditUserDetails">My Account</asp:HyperLink></strong>
|
||||
|
|
||||
<asp:HyperLink ID="lnkEditUserDetails" runat="server" meta:resourcekey="lnkEditUserDetails">My Account</asp:HyperLink>
|
||||
|
|
||||
<asp:ImageButton ID="imgSignOut" runat="server" CausesValidation="false" OnClick="cmdSignOut_Click" />
|
||||
</asp:Panel>
|
|
@ -47,7 +47,7 @@ namespace WebsitePanel.Portal.SkinControls
|
|||
public partial class UserSpaceBreadcrumb : System.Web.UI.UserControl
|
||||
{
|
||||
public const string ORGANIZATION_CONTROL_KEY = "organization_home";
|
||||
public const string PID_SPACE_EXCHANGE_SERVER = "SpaceExchangeServer";
|
||||
public const string PID_SPACE_EXCHANGE_SERVER = "SpaceExchangeServer";
|
||||
public const string EXCHANGE_SERVER_MODULE_DEFINTION_ID = "exchangeserver";
|
||||
public const string PAGE_NANE_KEY = "Text.PageName";
|
||||
public const string DM_FOLDER_VIRTUAL_PATH = "~/DesktopModules/";
|
||||
|
@ -164,7 +164,14 @@ namespace WebsitePanel.Portal.SkinControls
|
|||
{
|
||||
string imagePath = String.Concat("~/", DefaultPage.THEMES_FOLDER, "/", Page.Theme, "/", "Images", "/");
|
||||
|
||||
lnkUser.ImageUrl = imagePath + "home_16_blk.png";
|
||||
Image imgUserHome = new Image();
|
||||
imgUserHome.ImageUrl = imagePath + "home_16_blk.png";
|
||||
|
||||
Label lblUserText = new Label();
|
||||
lblUserText.Text = " " + user.Username;
|
||||
|
||||
lnkUser.Controls.Add(imgUserHome);
|
||||
lnkUser.Controls.Add(lblUserText);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<ItemTemplate>
|
||||
<div class="Quota">
|
||||
<div class="Left">
|
||||
<%# GetSharedLocalizedString("Quota." + (string)Eval("QuotaName"))%>:
|
||||
<%# GetQuotaTitle((string)Eval("QuotaName"), (string)Eval("QuotaDescription"))%>:
|
||||
</div>
|
||||
<div class="Viewer">
|
||||
<uc1:QuotaViewer ID="quota" runat="server"
|
||||
|
|
|
@ -75,5 +75,13 @@ namespace WebsitePanel.Portal
|
|||
{
|
||||
return new DataView(dsQuotas.Tables[1], "GroupID=" + groupId.ToString(), "", DataViewRowState.CurrentRows);
|
||||
}
|
||||
|
||||
public string GetQuotaTitle(string quotaName, string quotaDescription)
|
||||
{
|
||||
return quotaName.Contains("ServiceLevel") ?
|
||||
(string.IsNullOrEmpty(quotaDescription) ?
|
||||
string.Empty : quotaDescription).ToString()
|
||||
: GetSharedLocalizedString("Quota." + quotaName);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,31 +1,3 @@
|
|||
// Copyright (c) 2014, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (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.
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
<asp:HyperLink ID="lnkWebsitePanelPolicy" runat="server" meta:resourcekey="lnkWebsitePanelPolicy"
|
||||
Text="WebsitePanel Policy" NavigateUrl='<%# GetSettingsLink("WebsitePanelPolicy", "SettingsWebsitePanelPolicy") %>'></asp:HyperLink>
|
||||
</li>
|
||||
<li>
|
||||
<asp:HyperLink ID="lnkServiceLevels" runat="server" meta:resourcekey="lnkServiceLevels"
|
||||
Text="Service Levels" NavigateUrl='<%# GetSettingsLink("ServiceLevels", "SettingsServiceLevels") %>'></asp:HyperLink>
|
||||
</li>
|
||||
<li>
|
||||
<asp:HyperLink ID="lnkWebPolicy" runat="server" meta:resourcekey="lnkWebPolicy"
|
||||
Text="WEB Policy" NavigateUrl='<%# GetSettingsLink("WebPolicy", "SettingsWebPolicy") %>'></asp:HyperLink>
|
||||
|
|
|
@ -1,32 +1,3 @@
|
|||
// Copyright (c) 2014, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (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.
|
||||
|
@ -50,6 +21,15 @@ namespace WebsitePanel.Portal {
|
|||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HyperLink lnkWebsitePanelPolicy;
|
||||
|
||||
/// <summary>
|
||||
/// lnkServiceLevels control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HyperLink lnkServiceLevels;
|
||||
|
||||
/// <summary>
|
||||
/// lnkWebPolicy control.
|
||||
/// </summary>
|
||||
|
|
|
@ -210,6 +210,13 @@
|
|||
<Compile Include="Code\ReportingServices\IResourceStorage.cs" />
|
||||
<Compile Include="Code\ReportingServices\ReportingServicesUtils.cs" />
|
||||
<Compile Include="Code\UserControls\Tab.cs" />
|
||||
<Compile Include="SettingsServiceLevels.ascx.cs">
|
||||
<DependentUpon>SettingsServiceLevels.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SettingsServiceLevels.ascx.designer.cs">
|
||||
<DependentUpon>SettingsServiceLevels.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CRM\CRMStorageSettings.ascx.cs">
|
||||
<DependentUpon>CRMStorageSettings.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
@ -4138,6 +4145,7 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="ApplyEnableHardQuotaFeature.ascx" />
|
||||
<Content Include="SettingsServiceLevels.ascx" />
|
||||
<Content Include="CRM\CRMStorageSettings.ascx" />
|
||||
<Content Include="ExchangeServer\EnterpriseStorageCreateDriveMap.ascx" />
|
||||
<Content Include="ExchangeServer\EnterpriseStorageDriveMaps.ascx" />
|
||||
|
@ -5421,6 +5429,7 @@
|
|||
<Content Include="ProviderControls\App_LocalResources\IceWarp_EditGroup.ascx.resx" />
|
||||
<Content Include="ProviderControls\App_LocalResources\IceWarp_EditList.ascx.resx" />
|
||||
<Content Include="ProviderControls\App_LocalResources\IceWarp_Settings.ascx.resx" />
|
||||
<Content Include="App_LocalResources\SettingsServiceLevels.ascx.resx" />
|
||||
<EmbeddedResource Include="UserControls\App_LocalResources\EditDomainsList.ascx.resx">
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue