merge commit
This commit is contained in:
commit
097b3fe90b
22 changed files with 673 additions and 111 deletions
|
@ -397,6 +397,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)
|
||||
|
@ -405,6 +407,8 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
DirectoryEntry group = new DirectoryEntry(groupPath);
|
||||
|
||||
group.Invoke("Remove", obj.Path);
|
||||
|
||||
group.CommitChanges();
|
||||
}
|
||||
|
||||
public static bool AdObjectExists(string path)
|
||||
|
|
|
@ -32,11 +32,11 @@ namespace WebsitePanel.Providers.HostedSolution
|
|||
{
|
||||
public interface IOrganization
|
||||
{
|
||||
Organization CreateOrganization(string organizationId);
|
||||
Organization CreateOrganization(string organizationId, bool enableDefaultGroup);
|
||||
|
||||
void DeleteOrganization(string organizationId);
|
||||
|
||||
int CreateUser(string organizationId, string loginName, string displayName, string upn, string password, bool enabled);
|
||||
int CreateUser(string organizationId, string loginName, string displayName, string upn, string password, bool enabled, bool enableDefaultGroup);
|
||||
|
||||
void DeleteUser(string loginName, string organizationId);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue