merge commit

Fixed: Simple Url configuration for Lync, refactored
This commit is contained in:
robvde 2012-10-21 18:40:08 +04:00
parent 18bd22dc1c
commit b8c6bc50e4
2 changed files with 13 additions and 9 deletions

View file

@ -407,7 +407,7 @@ namespace WebsitePanel.Providers.HostedSolution
if (tmp.Length > 0)
{
string Url = SimpleUrlRoot + tmp[1];
ActiveDirectoryUtils.SetADObjectPropertyValue(user, "msRTCSIP-BaseSimpleUrl", Url);
ActiveDirectoryUtils.SetADObjectPropertyValue(user, "msRTCSIP-BaseSimpleUrl", Url.ToLower());
}
user.CommitChanges();
@ -643,9 +643,6 @@ namespace WebsitePanel.Providers.HostedSolution
SimpleUrls.Add(simpleUrl[0]);
}
Hashtable properties = new Hashtable();
properties.Add("Add", SimpleUrls);
//PSListModifier
cmd = new Command("Set-CsSimpleUrlConfiguration");
cmd.Parameters.Add("Identity", "Global");