Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have implemented FBA with LDAP. The people editor is resolving FBA users, but it shows the Account Name, not the Name. e.g. , but I want name for that employee.

Here is the Membership provide which I used. same used in Web app, STS and CA..

<add name="ADSiteNCRMemberShipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="SiteNCRADConnectionString" enableSearchMethods="true" attributeMapUsername="sAMAccountName" />

Please help..

share|improve this question

1 Answer 1

This is the standard behaviour of the ActiveDirectoryMembershipProvider. I do not believe that this can be changed. Wherever you require the current user to be shown on your masterpage etc you can simply reference the SPUser.Name property after authenticating.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.