.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

In people picker Fullname is not shown in displayName column with LdapMembership provider

Posted By:      Posted Date: October 21, 2010    Points: 0   Category :SharePoint

I have configured forms authentication with ldapmembership in my sharepoint site.

Following is the part of my central admin web.config

Everything works fine except user FullName is not displayed. In place of displayName it shows sAMAccountName.


sAMAccountName (in Active Directory) = shams
displayName (in Active Directory) = Shamsul Arefin

So when the user shams login to sharepoint it shows 'shams' instead of 'Shamsul Arefin' in Welcome control.


membership defaultProvider="LdapMembershipProvider">
<add name="LdapMembershipProvider" type="Microsoft.Office.Server.Security.LDAPMembershipProvider, Microsoft.Office.Server, Version=, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"
server="servername" port="389" useSSL="false"
userDNAttribute="distinguishedName" userNameAttribute="sAMAccountName"
userObjectClass="person" userFilter="(|(ObjectCategory=group)(ObjectClass=person))"
scope="Subtree" otherRequiredUserAttributes="sn,givenname,cn,displayName"/> providers> membership>
<roleManager defaultProvider="AspNetWindowsTokenRoleProvider" enabled="true"

View Complete Post

More Related Resource Links

Infopath 2010: Issue storing People Picker value into a SharePoint column


In IP form, we have a people picker in which user can select multiple people (not any group). Account ID of this field is a promoted Sharepoint column with merge function.


When user fills the form, in people picker s/he can see user names  separated by Semicolon ( ; ). When this value is saved in column in the library, it does not has  semicolon. The values are saved one below the other, in a new line. In html source it is written as <domain>\<<User>><b><domain>\<<User>>.


We would&n

Picker returns nothing for BDC column in custom list


Playing with the BDC for the first time, running into some issues adding a Business Data column to a custom list.

I believe my ADF file is solid. I've been able to import that just fine and can use the application to drive various BDC-specific webparts (a Business Data List or Business Data Item, for example). It also seems to work when I manually enter information in my NewForm.aspx field and click the Check Names button (it verifies my entry and underlines it, creates link to profile when I view the list data).


If I try to use the picker, I get nothing. Enter a name I know is valid or a % and click the magnifying glass icon and I very briefly get the "Please Wait" message, then just an empty set with "Type into the search box above then press "Enter" to start your search" where my results should be.

Any pointers? Thanks.

Get Value of People Picker in Sharepoint

Hi Guys I have One Field called Employee Name with Field type Person or Group and second field UserID with field type is single line of text. Now i enter lets say abc xxy as name as far knowledge i know people picker store value like domain\axxy. I was wondering is there anyway with help of jquery or javascript to get axxy in Userid field once someone enter Employee name Thanks Ron

Authentication for people picker

Hi All, People picker failed to track for the domain user. an error says "No Exact match was found"   I have look into many articles and one of it actually did solved my case. But i do not know what is the logic behind.   My web application's app pool is run under local account. When i try to create a site collection and people picker failed to match with domain user. I changed the app pool account(Identity) to a domain account to run the app pool. Then i try to create site collection, and people picker can match with the domain user. I do not know why. Can please brief me on the logic behind? Possible to trace for the domain user while the web app pool is running under local user account? This is a standalone farm but joined to a domain. Whole farm is using local user account to run the service. Thanks in advance.   Regards Jason  

User display Name & People Picker

Hi, We wanted to use a web application without user profile service. We have added users their display name is always domain\username. Is it that without user profile service display names will not be updated. But my understanding is that people picker also returns display name. Is it something else we need to configure to get the displayname from the people picker itself.Satheesh

People Picker & Replicate Permission

Hi, We have a IT env in a test domain and it is one way trusted to the domain where the actual users are. Recently we have tried adding a new web application for a different domain users (which is again one way trusted). But the people picker in this does not return any result. Does the account which is used for people picker need replication directory permission on that domain. And the ULS log says: (All these are Verbose information) SearchFromGC name = domain2.company.com. start SearchFromGC name = domain2.company.com. returned. Result count = 1 GetAccountNameFromSid "0x010500000000000515000000358A021AB47B733407E53B2BD9260500" start GetAccountNameFromSid "0x010500000000000515000000358A021AB47B733407E53B2BD9260500" returned. returnValue=False ------------------ Can someone help me what could be the issue.  Satheesh

People Picker gets error when selecting user from a trusted domain(one way forest trust)

  Hello all,   Our current setup is SharePoint 2010 Foundation server in one external forest(Trusting forest), and trying to have users in a separate internal forest(Trusted forest) access the site. The external forest's DC and SharePoint server are in a DMZ separated by a firewall with the internal forest's DC and users. A one way transitive forest trust was successfully created and has been validated. On SharePoint, we're ran the sts commands to set the setapppassword as well as the peoplepicker-searchadforests adding the domain that the SharePoint server is in, as well as the trusted forest. An iisreset was issued after running these commands. In SharePoint, we can then search for users from the trusted domain, and select the users in the Select People page, but when hitting the final Ok, an error is received: An unexpected error has occurred in which a correlation ID is provided. Reviewing the SharePoint logs we find the following: <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520081665 -1073717157 41 0 66047 0;} /* Style Defin

bind values for the drop down based on people picker value change

hi, i have a two lists in my sp. list 1 name  items user1 item1 user1 item2 user2 item1   and list 2 is in this way in this i have a people picker and a drop down when ever i change the name in people picker the value should get filled from list 1 and fill in drop down list so i need to get the on text changed event of people picker and bind it in the dropdown list could some help me out in fixing thisjayaraja

People Picker Render Error in Document Information Panel

I created a Content Type and added 3 columns.  One of those columns is a People Picker type column. When I open the Content Type by going to NEW -> MyContentType in a document library in SharePoint it opens in Microsoft Word but the People Picker control does not render correctly in the Document Information Panel. There is no error - just a display of a broken control. Is there a fix?

people picker problem, with multiple select lose the list.

<!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} p {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman";} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> Hi guys I have a master table with configuration for reports. when I load a InfoPath form (2010) for new report I have a approvers that set ok  , and I have  Notifies (multiple people) when I load a value form master they left me in the field only the first value(people) and lose the others. Do you know if there any way to load a multiple people value in people picker control?   Thank in advance Ramiro

People picker

Dear Forum, I am a newbie in SP 2010 - so hopefully you are patient with me :-) I need some help on the following issue: I have started with defining a list using a filed for filling in a "Line Manager" (because people in my organisation did not fill in the "responsible manager" in Exchange/AD). The idea was to use a filed of Type "Person or Group" and to call this "Line Manager". When the user filed in the form a workflow is sending this to the "line manager" via email. For me being an administrator it works but for a "normal" user not - it is just running and "searching" but not showing anything. If I explain the filed that it should be related to the group "Viewers" it is picking all userids and we can select an userid for sending emails. But we do not want to add new users to this group - it should pick an userid from "All users". Sorry - I am really a newbie and maybe this is really a piece of cake - please be patient with me :-)   Thanks a lot. Manni

bind values for the drop down based on people picker value change

hi, i have a two lists in my sp. list 1 name  items user1 item1 user1 item2 user2 item1   and list 2 is in this way in this i have a people picker and a drop down when ever i change the name in people picker the value should get filled from list 1 and fill in drop down list so i need to get the on text changed event of people picker and bind it in the dropdown list could some help me out in fixing thisjayaraja

read only to people picker

hi all, i have a sharepoint list where in if groupA user is accessing the site i would like to make the people picker to read only  and when people from groupB logs in they can add users in people picker. how would i do this. ?jayaraja

How to set a string field with people picker control group

Hi Guys I have a problem with a form list, when I need to set a string field with de content of people picker control that have more than one "user". Is there any way to put in string a list of user like the people picker control shows in a form? The really problem is I don't know how to read an array of user in a formula rule. any example or idea should be appreciated. tnks.  

InfoPath 2010 People Picker - Find Email Address

I am creating a form that uses the people picker to find information on a user but it doesn't appear to contain an email address for the user. I can create another form that uses a web service to connect to the SharePoint 2010 user profile service and pull back the current user details but I want to be able to send data from the people picker to fill in parts of the form with that users details (includiong email) and not the current user

Infopath 2010 How to activate the people picker control

I am creating a form where i am populating a people picker with the logged on user. This is fine but how can i then activate the control to get it to lookup the display name and account type.   I am using a rule to set the AccountID field to be the Username function available in rules. Then on the form you have to click on the tick icon to finish the lookup. This is the bit i want to automate.   I also have c# code running in the background so am happy using .NET code to do this.   Thanks   Paul

Validate a People Picker control

Hi,I would like to validate a People Editor field. I have tried using the property Allow Empty, but unfortunatly it doesnt work. I have used a Required field validator. Luckily it works to some extent. But the problem starts if there is any postback happening on the page. After the postback, it takes the value to be empty even if there is an entry in the control.Could anyone help me if there is any perticular property to be enabled or any other solution to acheive the validations on People Editor Control Raj
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend