Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

New-AdfsLdapAttributeToClaimMapping

Brian Lich|Last Updated: 3/8/2017

SYNOPSIS

Creates a mapping between an attribute of an LDAP folder and an AD FS claim type.

SYNTAX

New-AdfsLdapAttributeToClaimMapping [-LdapAttribute] <String> [[-ClaimType] <String>] [<CommonParameters>]

DESCRIPTION

The New-AdfsLdapAttributeToClaimMapping cmdlet creates a mapping between an attribute of the Lightweight Directory Access Protocol (LDAP) folder and an Active Directory Federation Services (AD FS) claim type. Mappings make it possible for LDAP attributes to be available for claim rule processing in AD FS.

EXAMPLES

Example 1: Create a mapping of an LDAP directory attribute

PS C:\> $DisplayName = New-AdfsLdapAttributeToClaimMapping -LdapAttribute "displayName" -ClaimType "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/displayname"

This command creates a mapping of an LDAP directory attribute to a claim type. The command stores the mapping in the $DisplayName variable for use with other cmdlets.

To see this cmdlet as part of creating an LDAP local claims provider trust, see the Add-AdfsLocalClaimsProviderTrust cmdlet.

PARAMETERS

-ClaimType

Specifies the claim type to assign to the AD FS claim that contains the LDAP attribute value.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-LdapAttribute

Specifies the attribute in the LDAP folder to which the claim type is mapped.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Add-AdfsLocalClaimsProviderTrust

© 2017 Microsoft