SPAuthenticationPipelineClaimMappingCollection.AddIdentityProviderNameMappingRule 方法

为身份标识提供程序添加了一个新的映射规则

命名空间:  Microsoft.SharePoint.ApplicationServices
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function AddIdentityProviderNameMappingRule ( _
    ruleName As String, _
    identityProviderType As String, _
    identityProviderIdentifier As String, _
    mappedNameIdIssuerClaimValue As String _
) As SPAuthenticationPipelineClaimMapping
用法
Dim instance As SPAuthenticationPipelineClaimMappingCollection
Dim ruleName As String
Dim identityProviderType As String
Dim identityProviderIdentifier As String
Dim mappedNameIdIssuerClaimValue As String
Dim returnValue As SPAuthenticationPipelineClaimMapping

returnValue = instance.AddIdentityProviderNameMappingRule(ruleName, _
    identityProviderType, identityProviderIdentifier, _
    mappedNameIdIssuerClaimValue)
public SPAuthenticationPipelineClaimMapping AddIdentityProviderNameMappingRule(
    string ruleName,
    string identityProviderType,
    string identityProviderIdentifier,
    string mappedNameIdIssuerClaimValue
)

参数

返回值

类型:Microsoft.SharePoint.ApplicationServices.SPAuthenticationPipelineClaimMapping

另请参阅

引用

SPAuthenticationPipelineClaimMappingCollection 类

SPAuthenticationPipelineClaimMappingCollection 成员

Microsoft.SharePoint.ApplicationServices 命名空间