Freigeben über


SPClaimProviderManager.IsClaimsUserAndMatchesIdentityClaim-Methode

Statische Methode, um den aktuellen Prinzipal des Threads ist für einen Benutzer Ansprüche (und somit, die Ansprüche ist aktiv) und es Identität Forderung Übereinstimmungen identityClaimsteht.

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

Syntax

'Declaration
Public Shared Function IsClaimsUserAndMatchesIdentityClaim ( _
    identityClaim As SPClaim _
) As Boolean
'Usage
Dim identityClaim As SPClaim
Dim returnValue As Boolean

returnValue = SPClaimProviderManager.IsClaimsUserAndMatchesIdentityClaim(identityClaim)
public static bool IsClaimsUserAndMatchesIdentityClaim(
    SPClaim identityClaim
)

Parameter

Rückgabewert

Typ: System.Boolean

Siehe auch

Referenz

SPClaimProviderManager Klasse

SPClaimProviderManager-Member

Microsoft.SharePoint.Administration.Claims-Namespace