This is probably a longshot, but does anyone know of a way to resolve a name entered in a Silverlight textbox to a SharePoint User object in Silverlight, using the client object model?

Ideally, I'd like to be able to have an object I can write back to a SharePoint List.

1 Answer 1


You should be able to resolve the user using code similar to these examples. I don't have a 2010 environment running at the moment but here's a suggestion:

var clientContext = new ClientContext("http://MyServer/sites/MySiteCollection");
var collGroup = clientContext.Web.SiteGroups;
    groups => groups.Include(
        group => group.Users.Include(
            user => user.Title,
            user => user.LoginName).Where(
                user => user.Title.Equals("John Smith"))));
  • Good enough for me! :)
    – James Love
    Commented Jun 15, 2011 at 6:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.