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:
studio-red 2012-04-16 20:45:47 -04:00
parent ae306ab633
commit 312872a956

View file

@ -469,7 +469,7 @@ namespace WebsitePanel.Providers.HostedSolution
string path = GetUserPath(organizationId, loginName);
if (ActiveDirectoryUtils.AdObjectExists(path))
ActiveDirectoryUtils.DeleteADObject(path);
ActiveDirectoryUtils.DeleteADObject(path,true);
HostedSolutionLog.LogEnd("DeleteUserInternal");
}