none
Checked out by is showing incorrectly in CSOM (Project Server 2016) RRS feed

  • Question

  • Hi

    I am trying to find out, plan is checked out by whom and below the piece of code

    Code

    ====

     var projects = prjContext5.LoadQuery(prjContext5.Projects.Where(p => p.Id == projectuid));
    projects .ExecuteQuery();
    var project = projects.FirstOrDefault();
    .ExecuteQuery();

    Console.WriteLine("Project '" + project.Name + "' is currently checked out by " + project.CheckedOutBy);

    Output

    Ideally it should display the users name instead of Microsoft.SharePoint.Client.User

    Any Idea ?

    Regards

    Santosh


    Wednesday, April 18, 2018 7:03 PM

All replies