organization password settings added (without GPO)

This commit is contained in:
vfedosevich 2015-04-06 07:09:53 -07:00
parent e320b4c79e
commit 60214cdcf1
40 changed files with 2351 additions and 152 deletions

View file

@ -99,5 +99,6 @@ namespace WebsitePanel.Providers.HostedSolution
void ChangeDriveMapFolderPath(string organizationId, string oldFolder, string newFolder);
List<OrganizationUser> GetOrganizationUsersWithExpiredPassword(string organizationId, int daysBeforeExpiration);
void ApplyPasswordSettings(string organizationId, OrganizationPasswordSettings passwordSettings);
}
}

View file

@ -0,0 +1,19 @@
namespace WebsitePanel.Providers.HostedSolution
{
public class OrganizationPasswordSettings
{
public int MinimumLength { get; set; }
public int MaximumLength { get; set; }
public int EnforcePasswordHistory { get; set; }
public bool LockoutSettingsEnabled { get; set; }
public int AccountLockoutDuration { get; set; }
public int AccountLockoutThreshold { get; set; }
public int ResetAccountLockoutCounterAfter { get; set; }
public bool PasswordComplexityEnabled { get; set; }
public int UppercaseLettersCount { get; set; }
public int NumbersCount { get; set; }
public int SymbolsCount { get; set; }
}
}

View file

@ -0,0 +1,7 @@
namespace WebsitePanel.Providers.HostedSolution
{
public class OrganizationSettings
{
public const string PasswordSettings = "PasswordSettings";
}
}

View file

@ -0,0 +1,9 @@
namespace WebsitePanel.Providers.HostedSolution
{
public class OrganizationSettingsEntity
{
public int ItemId { get; set; }
public string SettingsName { get; set; }
public string Xml { get; set; }
}
}

View file

@ -119,9 +119,12 @@
<Compile Include="HostedSolution\LyncUserPlanType.cs" />
<Compile Include="HostedSolution\LyncUsersPaged.cs" />
<Compile Include="HostedSolution\LyncVoicePolicyType.cs" />
<Compile Include="HostedSolution\OrganizationPasswordSettings.cs" />
<Compile Include="HostedSolution\OrganizationSecurityGroup.cs" />
<Compile Include="HostedSolution\OrganizationDeletedUser.cs" />
<Compile Include="HostedSolution\OrganizationDeletedUsersPaged.cs" />
<Compile Include="HostedSolution\OrganizationSettings.cs" />
<Compile Include="HostedSolution\OrganizationSettingsEntity.cs" />
<Compile Include="HostedSolution\TransactionAction.cs" />
<Compile Include="OS\MappedDrivesPaged.cs" />
<Compile Include="OS\MappedDrive.cs" />