SPClaimProviderManager.IsClaimsUserAndMatchesIdentityClaim method

Static method to check the current thread's principal is for a claims user (and thus that claims is active) and that it's identity claim matches identityClaim.

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static bool IsClaimsUserAndMatchesIdentityClaim(
	SPClaim identityClaim
)

Parameters

identityClaim
Type: Microsoft.SharePoint.Administration.Claims.SPClaim

Identity claim to match.

Return value

Type: System.Boolean
Show: