SPOriginalIssuers.DoesIssuerTypeNeedIdentifier 方法

确定是否颁发者类型需要一个标识符。

命名空间:  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
)

参数

返回值

类型:System.Boolean
true如果需要指定的颁发者类型的标识符。否则为false。

备注

如果type是Windows()SecurityTokenService(),并返回true ,如果type是Forms()TrustedProvider()ClaimProvider(),则此方法将返回false 。如果任何这些值type ,此方法将引发异常的ArgumentException

另请参阅

引用

SPOriginalIssuers 类

SPOriginalIssuers 成员

Microsoft.SharePoint.Administration.Claims 命名空间