This commit is contained in:
vfedosevich 2015-03-27 05:14:53 -07:00
parent 492c0289f6
commit dd5fc131bc
15 changed files with 556 additions and 38 deletions

View file

@ -1,15 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WebsitePanel.EnterpriseServer.Base.RDS
{
public class RdsServerSetting
{
public string PropertyName { get; set; }
public string PropertyValue { get; set; }
public bool ApplyUsers { get; set; }
public bool ApplyAdministrators { get; set; }
}
}

View file

@ -1,52 +0,0 @@
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace WebsitePanel.EnterpriseServer.Base.RDS
{
public class RdsServerSettings
{
private List<RdsServerSetting> settings = null;
public const string LOCK_SCREEN_TIMEOUT_VALUE = "LockScreenTimeoutValue";
public const string LOCK_SCREEN_TIMEOUT_ADMINISTRATORS = "LockScreenTimeoutAdministrators";
public const string LOCK_SCREEN_TIMEOUT_USERS = "LockScreenTimeoutUsers";
public const string REMOVE_RUN_COMMAND_ADMINISTRATORS = "RemoveRunCommandAdministrators";
public const string REMOVE_RUN_COMMAND_USERS = "RemoveRunCommandUsers";
public const string REMOVE_POWERSHELL_COMMAND_ADMINISTRATORS = "RemovePowershellCommandAdministrators";
public const string REMOVE_POWERSHELL_COMMAND_USERS = "RemovePowershellCommandUsers";
public const string HIDE_C_DRIVE_ADMINISTRATORS = "HideCDriveAdministrators";
public const string HIDE_C_DRIVE_USERS = "HideCDriveUsers";
public const string REMOVE_SHUTDOWN_RESTART_ADMINISTRATORS = "RemoveShutdownRestartAdministrators";
public const string REMOVE_SHUTDOWN_RESTART_USERS = "RemoveShutdownRestartUsers";
public const string DISABLE_TASK_MANAGER_ADMINISTRATORS = "DisableTaskManagerAdministrators";
public const string DISABLE_TASK_MANAGER_USERS = "DisableTaskManagerUsers";
public const string CHANGE_DESKTOP_DISABLED_ADMINISTRATORS = "ChangingDesktopDisabledAdministrators";
public const string CHANGE_DESKTOP_DISABLED_USERS = "ChangingDesktopDisabledUsers";
public const string SCREEN_SAVER_DISABLED_ADMINISTRATORS = "ScreenSaverDisabledAdministrators";
public const string SCREEN_SAVER_DISABLED_USERS = "ScreenSaverDisabledUsers";
public const string DRIVE_SPACE_THRESHOLD_VALUE = "DriveSpaceThresholdValue";
public string SettingsName { get; set; }
public int ServerId { get; set; }
public List<RdsServerSetting> Settings
{
get
{
if (settings == null)
{
settings = new List<RdsServerSetting>();
}
return settings;
}
set
{
settings = value;
}
}
}
}

View file

@ -134,8 +134,6 @@
<Compile Include="Packages\PackageSettings.cs" />
<Compile Include="Packages\PackageStatus.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RDS\RdsServerSetting.cs" />
<Compile Include="RDS\RdsServerSettings.cs" />
<Compile Include="Reports\OverusageReport.custom.cs">
<SubType>Component</SubType>
</Compile>
@ -244,7 +242,9 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Folder Include="RDS\" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.