I'm using SetPassword method from System.DirectoryServices.AccountManagement, to change an user password without knowing his old password. In my domain, it has a history policies, so I can't use a prior password due this history restriction. However, when I use SetPassword method, it allow me use a prior password, skiping the policies restrictions. How can I do to check if the password meet wit this policie using managed code or comm? I have research for a time, but any post didn't help me.I'm using SetPassword method from System.Direct