Aracılığıyla paylaş


SPOriginalIssuers.IsIssuerType Method

Determines whether the issuer is of a particular type.

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

Syntax

'Declaration
Public Shared Function IsIssuerType ( _
    type As SPOriginalIssuerType, _
    issuer As String _
) As Boolean
'Usage
Dim type As SPOriginalIssuerType
Dim issuer As String
Dim returnValue As Boolean

returnValue = SPOriginalIssuers.IsIssuerType(type, _
    issuer)
public static bool IsIssuerType(
    SPOriginalIssuerType type,
    string issuer
)

Parameters

  • issuer
    Type: System.String

    A string that contains the issuer to validate the type for.

Return Value

Type: System.Boolean
true if the issuer is of the type defined by the type parameter; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

Thrown if the issuer is null when the type requires an identifier. Also throws an ArgumentException if the issuer is String.Empty when the type requires an identifier.

See Also

Reference

SPOriginalIssuers Class

SPOriginalIssuers Members

Microsoft.SharePoint.Administration.Claims Namespace