Merge
This commit is contained in:
commit
81fa984bdc
180 changed files with 13490 additions and 1913 deletions
|
@ -27,6 +27,7 @@
|
|||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Web.Services;
|
||||
using System.Web.Services.Protocols;
|
||||
|
@ -254,5 +255,23 @@ namespace WebsitePanel.Server
|
|||
{
|
||||
Organization.ChangeDriveMapFolderPath(organizationId, oldFolder, newFolder);
|
||||
}
|
||||
|
||||
[WebMethod, SoapHeader("settings")]
|
||||
public List<OrganizationUser> GetOrganizationUsersWithExpiredPassword(string organizationId, int daysBeforeExpiration)
|
||||
{
|
||||
return Organization.GetOrganizationUsersWithExpiredPassword(organizationId, daysBeforeExpiration);
|
||||
}
|
||||
|
||||
[WebMethod, SoapHeader("settings")]
|
||||
public void ApplyPasswordSettings(string organizationId, OrganizationPasswordSettings passwordSettings)
|
||||
{
|
||||
Organization.ApplyPasswordSettings(organizationId, passwordSettings);
|
||||
}
|
||||
|
||||
[WebMethod, SoapHeader("settings")]
|
||||
public bool CheckPhoneNumberIsInUse(string phoneNumber, string userSamAccountName = null)
|
||||
{
|
||||
return Organization.CheckPhoneNumberIsInUse(phoneNumber, userSamAccountName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1023,14 +1023,13 @@ namespace WebsitePanel.Server
|
|||
}
|
||||
|
||||
[WebMethod, SoapHeader("settings")]
|
||||
public bool DisableVmReplication(string vmId, string replicaServer)
|
||||
public void DisableVmReplication(string vmId)
|
||||
{
|
||||
try
|
||||
{
|
||||
Log.WriteStart("'{0}' DisableVmReplication", ProviderSettings.ProviderName);
|
||||
var result = VirtualizationProvider.DisableVmReplication(vmId, replicaServer);
|
||||
VirtualizationProvider.DisableVmReplication(vmId);
|
||||
Log.WriteEnd("'{0}' DisableVmReplication", ProviderSettings.ProviderName);
|
||||
return result;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue