Server API provides SPWeb.Author property to access the creator of the site. However, managed client object model Web API doesn't seem to provide any such property. What is the alternative to get the author of the web object.

1 Answer 1

var spWeb = context.Site.OpenWeb("Test");
var creator = spWeb.Author;

Update the CSOM dll to the latest one or atleast August 2016 version. The author property is exposed. You can use it as above.

SharePoint CSOM version released for SharePoint Online - August 2016


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.