SPClaimProviderManager.IsUserIdentifierClaim method (String, String, String, String)

Tests to see if the claim represented by the inputs is a SharePoint identity claim.

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

Syntax

'Declaration
Public Shared Function IsUserIdentifierClaim ( _
    claimType As String, _
    claimValue As String, _
    claimValueType As String, _
    claimOriginalIssuer As String _
) As Boolean
'Usage
Dim claimType As String
Dim claimValue As String
Dim claimValueType As String
Dim claimOriginalIssuer As String
Dim returnValue As Boolean

returnValue = SPClaimProviderManager.IsUserIdentifierClaim(claimType, _
    claimValue, claimValueType, claimOriginalIssuer)
public static bool IsUserIdentifierClaim(
    string claimType,
    string claimValue,
    string claimValueType,
    string claimOriginalIssuer
)

Parameters

  • claimValueType
    Type: System.String

    The claim value type to check.

  • claimOriginalIssuer
    Type: System.String

    The original issuer of the claim to check.

Return value

Type: System.Boolean
true if the claim is a SharePoint identity claim; otherwise false.

Exceptions

Exception Condition
ArgumentNullException

Thrown if any argument is null.

See also

Reference

SPClaimProviderManager class

SPClaimProviderManager members

IsUserIdentifierClaim overload

Microsoft.SharePoint.Administration.Claims namespace