如何以编程方式清除Kerberos票证缓存

如何以编程方式清除Kerberos票证缓存

问题描述:

有人知道如何使用托管的\ unmanegdd代码清除本地计算机上的Kerberos票证缓存吗?

Does anyone know how to clear out the Kerberos ticket cache on the local computer - using managed \ unmanaegd code?

提前谢谢!

我相信您需要致电KERB_PURGE_TKT_CACHE_REQUEST "rel =" noreferrer> LsaConnectUntrusted 或 LsaRegisterLogonProcess .抱歉,没有具体信息,但是我没有关于此的代码...

I believe you need to do a call to LsaCallAuthenticationPackage using KERB_PURGE_TKT_CACHE_REQUEST after using either LsaConnectUntrusted or LsaRegisterLogonProcess. Sorry no specifics, but I don't have my code for this around...