In the previous example we retrieve only user title and email (). In this article we can Retrieving user specific properties using CSOM SharePoint Online.The below example uses the Include<TSource>(IQueryable<TSource>, []) method to specify that only the Email and Title  properties are available on each user object. If you will call  other properties, it will returns a PropertyOrFieldNotInitializedException.

 

Leave a Reply

Your email address will not be published. Required fields are marked *