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
claimType
Type: System.StringThe claim type to check.
claimValue
Type: System.StringThe claim value to check.
claimValueType
Type: System.StringThe claim value type to check.
claimOriginalIssuer
Type: System.StringThe 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 Members