Skip to main content

Posts

Showing posts from 2016

Download User Profile Pictures from SharePoint 2010 - CSOM

In this post I am trying to explain how we can download UserProfie pictures from SharePoint 2010 on premise environment using CSOM code Two input files: CSV file contains list of users and Email ids(csvInput.csv) Xml input file contains input parameters(InputXml.xml) CSV File format: User ID,First Name,Surname,E-mail, 1233,veera,induvasi,veera@abc.com, 1333,mahesh,gupta,mg@abc.com, 2345,abc,azx,abc@abc.com, InputXml File format: < Element >   < InputDetails >     < siteUrl > http://abc.com </ siteUrl >     < ExportImageLocation > c: \Download </ ExportImageLocation >     < InputCSVFullPath > c:\UserProfile\csvInput .csv </ InputCSVFullPath >     < loginName >create.idea @abc.com </ loginName >     < Password > ##### </ Password >   </ InputDetails > </ Element > Xml parameter Details: < siteUrl> - SharePoint site url < ExportImage