SPAuthenticationPipelineClaimMappingCollection.AddIdentityProviderNameMappingRule method
Adds a new Mapping rule for Identity Provider
Namespace: Microsoft.SharePoint.ApplicationServices
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function AddIdentityProviderNameMappingRule ( _
ruleName As String, _
identityProviderType As String, _
identityProviderIdentifier As String, _
mappedNameIdIssuerClaimValue As String _
) As SPAuthenticationPipelineClaimMapping
'Usage
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
)
Parameters
- ruleName
Type: System.String
- identityProviderType
Type: System.String
- identityProviderIdentifier
Type: System.String
- mappedNameIdIssuerClaimValue
Type: System.String
Return value
Type: Microsoft.SharePoint.ApplicationServices.SPAuthenticationPipelineClaimMapping
See also
Reference
SPAuthenticationPipelineClaimMappingCollection class