I am using this code, trying to resolve the prefix items. Can you please let me know, how to resolve this issue.
I have mapped claim mapping with "Roles" and "Email". When I search in the people picker it always resturned the results :
LEFT SIDE PANE RIGHT SIDE PANE
Roles(5) (ROLES) xxxx\sharepointadministrator
Email(2) (Email) contoso\abc
Do you have any idea how to resolve the above prefix from the right side pane, is there any property or i have to customize the code to remove the prefix.