共用方式為


SPAuthenticationPipelineClaimMappingCollection.AddIdentityProviderNameMappingRule method

身分識別提供者新增對應規則

Namespace:  Microsoft.SharePoint.ApplicationServices
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
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
)

參數

傳回值

Type: Microsoft.SharePoint.ApplicationServices.SPAuthenticationPipelineClaimMapping

請參閱

參照

SPAuthenticationPipelineClaimMappingCollection class

SPAuthenticationPipelineClaimMappingCollection members

Microsoft.SharePoint.ApplicationServices namespace