ILogonTokenCacheManager.RemoveCachedLogonToken(String) Method

Definition

Removes the specified token from the logon cache.

public:
 bool RemoveCachedLogonToken(System::String ^ username);
public bool RemoveCachedLogonToken (string username);
abstract member RemoveCachedLogonToken : string -> bool
Public Function RemoveCachedLogonToken (username As String) As Boolean

Parameters

username
String

The user name on the token to remove.

Returns

true if the user's token was successfully removed; otherwise, false.

Remarks

This method, when implemented, removes the token identified by username from the cache.

Applies to