add "security groups" functional excepting "users memberof"

This commit is contained in:
vfedosevich 2013-08-22 19:22:35 +03:00
parent 52cf12187f
commit 4eff42511b
25 changed files with 468 additions and 163 deletions

View file

@ -349,11 +349,6 @@ namespace WebsitePanel.Providers.HostedSolution
}
public static void CreateGroup(string path, string group)
{
CreateGroup(path, group, "");
}
public static void CreateGroup(string path, string group, string manager)
{
DirectoryEntry currentADObject = new DirectoryEntry(path);
@ -363,11 +358,6 @@ namespace WebsitePanel.Providers.HostedSolution
newGroupObject.Properties[ADAttributes.GroupType].Add(-2147483640);
if (!string.IsNullOrEmpty(manager))
{
newGroupObject.Properties[ADAttributes.Manager].Add(manager);
}
newGroupObject.CommitChanges();
}