FlushIISToken method
Collapse the table of content
Expand the table of content

SPUtility.FlushIISToken method

Invalidates the user token for all application pool accounts.

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

public static bool FlushIISToken()

Return value

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

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

© 2015 Microsoft