[DllImport("ntdsapi.dll", SetLastError = true)] public static extern void DsFreePasswordCredentials( IntPtr AuthIdentity );
Microsoft documentation: Link
Last updated 1 year ago