Merged Helicon fixes

This commit is contained in:
feodor_fitsner 2012-09-14 09:44:58 -07:00
commit 38eb915d02
19 changed files with 737 additions and 261 deletions

View file

@ -4042,6 +4042,26 @@ namespace WebsitePanel.Providers.Web
// moved down to IIs60
override public bool CheckLoadUserProfile()
{
using (var srvman = new ServerManager())
{
return srvman.ApplicationPools["WebsitePanel Server"].ProcessModel.LoadUserProfile;
}
}
override public void EnableLoadUserProfile()
{
using (var srvman = new ServerManager())
{
srvman.ApplicationPools["WebsitePanel Server"].ProcessModel.LoadUserProfile = true;
// save changes
srvman.CommitChanges();
}
}
#endregion
}
}