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
claim
Type: Microsoft.SharePoint.Administration.Claims.SPClaimThe claims 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 members