From c43df44c87a3eb02a52cfdea2eac93417efcf388 Mon Sep 17 00:00:00 2001 From: Virtuworks Date: Wed, 25 Feb 2015 21:48:12 -0500 Subject: [PATCH] Further Update Variable Name --- .../Windows2012.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs b/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs index 8c90893d..8c2db409 100644 --- a/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs +++ b/WebsitePanel/Sources/WebsitePanel.Providers.TerminalServices.Windows2012/Windows2012.cs @@ -311,7 +311,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices if (!ActiveDirectoryUtils.AdObjectExists(GetHelpDeskComputerGroupPath())) { - ActiveDirectoryUtils.CreateGroup(GetRootOUPath(), RDSHelpDeskComputerGroup); + ActiveDirectoryUtils.CreateGroup(GetRootOUPath(), RDSHelpDeskGroup); } if (!ActiveDirectoryUtils.AdObjectExists(GetUsersGroupPath(organizationId, collection.Name))) @@ -568,7 +568,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices if (!ActiveDirectoryUtils.AdObjectExists(GetHelpDeskComputerGroupPath())) { - ActiveDirectoryUtils.CreateGroup(GetRootOUPath(), RDSHelpDeskComputerGroup); + ActiveDirectoryUtils.CreateGroup(GetRootOUPath(), RDSHelpDeskGroup); } AddComputerToCollectionAdComputerGroup(organizationId, collectionName, server); @@ -1355,7 +1355,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices ActiveDirectoryUtils.AddObjectToGroup(computerPath, GetComputerGroupPath(organizationId, collectionName)); } - if (!ActiveDirectoryUtils.IsComputerInGroup(samName, RDSHelpDeskComputerGroup)) + if (!ActiveDirectoryUtils.IsComputerInGroup(samName, RDSHelpDeskGroup)) { ActiveDirectoryUtils.AddObjectToGroup(computerPath, GetHelpDeskComputerGroupPath()); } @@ -1386,7 +1386,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices if (ActiveDirectoryUtils.AdObjectExists(GetHelpDeskComputerGroupPath())) { - if (ActiveDirectoryUtils.IsComputerInGroup(samName, RDSHelpDeskComputerGroup)) + if (ActiveDirectoryUtils.IsComputerInGroup(samName, RDSHelpDeskGroup)) { ActiveDirectoryUtils.RemoveObjectFromGroup(computerPath, GetHelpDeskComputerGroupPath()); } @@ -1682,7 +1682,7 @@ namespace WebsitePanel.Providers.RemoteDesktopServices AppendProtocol(sb); AppendDomainController(sb); - AppendCNPath(sb, RDSHelpDeskComputerGroup); + AppendCNPath(sb, RDSHelpDeskGroup); AppendOUPath(sb, RootOU); AppendDomainPath(sb, RootDomain);