mhammond / pywin32

Python for Windows (pywin32) Extensions
4.9k stars 783 forks source link

Enhance CredDelete to work with dictionaries #2198

Closed CristiFati closed 3 months ago

CristiFati commented 3 months ago

Fix for #1775.

As a rule of thumb I consider that if there's a pair of functions: a getter and a setter, the latter should work with whatever the former returns. Applied to current situation CredDelete (and maybe others?) should work with a CREDENTIAL structure (converted to a dictionary). In most of the cases that should be the only thing that it should work with, but in this current scenario this doesn't apply.