Hi there,
i've created a custom ldapcp class with following config
what I'm doing wrong? :(
i've created a custom ldapcp class with following config
LDAPCPConfig myConfig = LDAPCPConfig.GetDefaultConfiguration();
myConfig.FilterEnabledUsersOnlyProp = true;
myConfig.FilterSecurityGroupsOnlyProp = true;
//myConfig.DisplayLdapMatchForIdentityClaimTypeProp = true;
myConfig.AttributesListProp = new List<AttributeHelper>
{
new AttributeHelper
{
LDAPAttribute="sAMAccountName",
LDAPObjectClassProp="group",
ClaimType=WIF.ClaimTypes.Role,
ClaimEntityType=SPClaimEntityTypes.FormsRole
},
new AttributeHelper
{
LDAPAttribute="userPrincipalName",
LDAPObjectClassProp="user",
ClaimType=WIF.ClaimTypes.Upn,
ClaimEntityType=SPClaimEntityTypes.User,
EntityDataKey=PeopleEditorEntityDataKeys.Email,
LDAPAttributeToDisplayProp="displayName"
}
};
return myConfig;
but there is allways the upn in people picker... not the displayname...what I'm doing wrong? :(