Fixed issue as described by yodaict:
"I think this happens if the Active Directory Recycle Bin is enabled on domain level. As kensasongko mentioned changing line 472 to ActiveDirectoryUtils.DeleteADObject(path, true); fixes the problem"
This commit is contained in:
parent
ae306ab633
commit
312872a956
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ namespace WebsitePanel.Providers.HostedSolution
|
||||||
|
|
||||||
string path = GetUserPath(organizationId, loginName);
|
string path = GetUserPath(organizationId, loginName);
|
||||||
if (ActiveDirectoryUtils.AdObjectExists(path))
|
if (ActiveDirectoryUtils.AdObjectExists(path))
|
||||||
ActiveDirectoryUtils.DeleteADObject(path);
|
ActiveDirectoryUtils.DeleteADObject(path,true);
|
||||||
|
|
||||||
HostedSolutionLog.LogEnd("DeleteUserInternal");
|
HostedSolutionLog.LogEnd("DeleteUserInternal");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue