fixed bugs
This commit is contained in:
parent
789f1402a6
commit
dc59d2fdbb
7 changed files with 65 additions and 9 deletions
|
@ -399,6 +399,8 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
DirectoryEntry group = new DirectoryEntry(groupPath);
|
||||
|
||||
group.Invoke("Add", obj.Path);
|
||||
|
||||
group.CommitChanges();
|
||||
}
|
||||
|
||||
public static void RemoveObjectFromGroup(string obejctPath, string groupPath)
|
||||
|
@ -407,6 +409,8 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
DirectoryEntry group = new DirectoryEntry(groupPath);
|
||||
|
||||
group.Invoke("Remove", obj.Path);
|
||||
|
||||
group.CommitChanges();
|
||||
}
|
||||
|
||||
public static bool AdObjectExists(string path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue