共用方式為


SPClaimProviderManager.IsUserIdentifierClaim Method (SPClaim)

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 ( _
    claim As SPClaim _
) As Boolean
'Usage
Dim claim As SPClaim
Dim returnValue As Boolean

returnValue = SPClaimProviderManager.IsUserIdentifierClaim(claim)
public static bool IsUserIdentifierClaim(
    SPClaim claim
)

Parameters

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