SPUtility.FlushIISToken method

Invalidates the user token for all application pool accounts.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function FlushIISToken As Boolean
'Usage
Dim returnValue As Boolean

returnValue = SPUtility.FlushIISToken()
public static bool FlushIISToken()

Return value

Type: System.Boolean
true if successful; otherwise, false.

Remarks

This method returns false is the version number of Internet Information Services is less than 7.

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace