Partager via


SPAuthenticationPipelineClaimMappingCollection.AddIdentityProviderNameMappingRule - Méthode

Ajoute une nouvelle règle de mappage pour le fournisseur d'identité

Espace de noms :  Microsoft.SharePoint.ApplicationServices
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Function AddIdentityProviderNameMappingRule ( _
    ruleName As String, _
    identityProviderType As String, _
    identityProviderIdentifier As String, _
    mappedNameIdIssuerClaimValue As String _
) As SPAuthenticationPipelineClaimMapping
'Utilisation
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
)

Paramètres

Valeur renvoyée

Type : Microsoft.SharePoint.ApplicationServices.SPAuthenticationPipelineClaimMapping

Voir aussi

Référence

SPAuthenticationPipelineClaimMappingCollection classe

SPAuthenticationPipelineClaimMappingCollection - Membres

Microsoft.SharePoint.ApplicationServices - Espace de noms