I want to assign the value from a peopleeditor control to a user field in C#.
I have a resolved entity in the people editor, but when passing the SPUserId into the SPFieldUserValue constructor along with the RootWeb (or even current web), the uservalue is null (i.e. it can't find the user). Is there a way of searching the active directory/the same place the people editor searches for this user as opposed to a SharePoint web?
Thanks a lot.