Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to remove sidhistory attribute values in c# for active directory user or object?
Posted

Hi, look at this article : AD C#
 
Share this answer
 
Comments
vinjamuri_venkat 29-Dec-12 7:25am    
Thanks Oleksandr, this is a special case attribute,

userEntry.Properties["sidhistory"].Value = null;
userEntry.CommitChanges();
userEntry.RefreshCache();

by doing the above process for user entry it was not clearing the sidhistory attribute value.
Hi,

here is the Visual Basic Script http://support.microsoft.com/kb/295758[^]

needs to be converted.May be others who know Visual Basic Script & c# can help..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900