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 an issue - I enter correct email of user to client people picker, but I do not see any suggestion to choose user. If I copy and past the same email, I see the error message - there are several users with the same email. After this I can resolve what user should be chosen.

How can I add the same behavior when I enter email manually or validate/resolve user name in people picker?

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

The email address is the UNIQUE identifier for AD when you use EnsureUser (Which all of internal sharepoint does)

This means it is have resolution conflicts, alter this by stepping through the users and giving unique even bogus email addresses.

share|improve this answer
    
it's not true for user profile. –  Alexander Feb 15 '13 at 13:16
    
It's still how ensure user works, if the user has an email address it is used to resolve the user, a non unique email causes conflicts. –  Hugh Wood Feb 15 '13 at 13:49
    
but why it can be solved if I copy and past this email??? –  Alexander Feb 15 '13 at 14:07
    
people picker gives suggestions, the default suggestion is what you copy after the attempted resolve of the login (it can sometimes be wrong) –  Hugh Wood Feb 15 '13 at 14:26
    
Is it possible to resolve email on some button click through Java Script? Make the same behavior of control as "copy and pust" case? –  Alexander Feb 15 '13 at 14:31
show 3 more comments

You should not have more than one user with the same email...this should be impossible as that's what you use to login.

share|improve this answer
1  
SharePoint uses claims authentication, thus it's possible. –  Alexander Feb 15 '13 at 13:15
    
Sorry i thought you were using AD with SP which means emails need to be unique –  Stephen Feb 15 '13 at 13:34
add comment

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.