This documentation is archived and is not being maintained.

ILogonTokenCacheManager Interface

This interface enables an application to clear the Windows token cache on demand.

Namespace: System.ServiceModel.Security.Tokens
Assembly: System.ServiceModel (in system.servicemodel.dll)

public interface ILogonTokenCacheManager
public interface ILogonTokenCacheManager
public interface ILogonTokenCacheManager
Not applicable.

Without this interface, there is no way to remove Windows tokens obtained by logging on with the user name and password supplied with the message from the Windows logon tokens cache. When an application needs to log off a user by providing a logoff operation on its contract, there is no way to remove all traces of the user from the system: the cached Windows token that represents the user is held in the memory until its time-to-live expires and the token is removed from the cache.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0