New answers tagged people-search
Since you have edited the page layout it de links from the content database, in order to roll back you have to use "Reset to Site definition" on ECB context menu of the layout. This is roll back your changes and it refers from the content database.
I would revise it like this, where pectrl is the PeopleEditor. Note: This assumes you add a MultiSelect="false" attribute on your PeopleEditor, though theoretically you should be able to use a loop like in Sean's example to get them all, but you would need to return a collection, not just SPUser or SPFieldUserValue to do that: public static SPUser ...
Top 50 recent answers are included