SPOriginalIssuers.DoesIssuerTypeNeedIdentifier method
Determines whether an issuer type requires an identifier.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function DoesIssuerTypeNeedIdentifier ( _
type As SPOriginalIssuerType _
) As Boolean
'Usage
Dim type As SPOriginalIssuerType
Dim returnValue As Boolean
returnValue = SPOriginalIssuers.DoesIssuerTypeNeedIdentifier(type)
public static bool DoesIssuerTypeNeedIdentifier(
SPOriginalIssuerType type
)
Parameters
type
Type: Microsoft.SharePoint.Administration.Claims.SPOriginalIssuerTypeThe issuer type to verify.
Return value
Type: System.Boolean
true if the specified issuer type requires an identifier; otherwise, false.
Remarks
This method returns false if type is Windows() or SecurityTokenService(), and returns true if type is Forms(), TrustedProvider(), or ClaimProvider(). If type is none of these values, this method throws an ArgumentException exception.