Notes: Custom properties are not fetching with the CSOM Properties marked with "Only Me" cant be fetched with CSOM SSOM and PowerShell is the option when you fetching properties using System; using Microsoft.Office.Server.UserProfiles; using Microsoft.SharePoint; using CSVHelper; using System.Data; using System.Configuration; using log4net; namespace UserProfileUtility { class Program { // Get url from App config static string siteUrl = ConfigurationManager.AppSettings["SiteUrl"].ToString(); // User Properties handler static UserProperties userProp = new UserProperties(); //Logging private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); /// <summary> /// Main method /// </summary> /// Arguments static void Main(string[] args) { #region Definitions DataTable dataTable =
Lemme engineeracle your Software Warcraft! One place for tech explorations of Kushan and up to date contents on cloud-based business productivity and enterprise collaboration.