SPUtility.FlushIISToken Method

Invalidates the user token for all application pool accounts.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
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.

Show: