确定是否颁发者类型需要一个标识符。
命名空间: Microsoft.SharePoint.Administration.Claims
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function DoesIssuerTypeNeedIdentifier ( _
type As SPOriginalIssuerType _
) As Boolean
用法
Dim type As SPOriginalIssuerType
Dim returnValue As Boolean
returnValue = SPOriginalIssuers.DoesIssuerTypeNeedIdentifier(type)
public static bool DoesIssuerTypeNeedIdentifier(
SPOriginalIssuerType type
)
参数
type
类型:Microsoft.SharePoint.Administration.Claims.SPOriginalIssuerType要验证的颁发者类型。
返回值
类型:System.Boolean
true如果需要指定的颁发者类型的标识符。否则为false。
备注
如果type是Windows()或SecurityTokenService(),并返回true ,如果type是Forms(), TrustedProvider()或ClaimProvider(),则此方法将返回false 。如果任何这些值type ,此方法将引发异常的ArgumentException 。