CheckLoadUserProfile
This commit is contained in:
parent
cfb58e3423
commit
444473a73d
10 changed files with 641 additions and 233 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue