Last week, I was at New York speaking at SharePoint Saturday NYC. It was pretty exciting to see more than 600 user attending SharePoint Saturday NYC and also gave me chance to meet many of my speaker friends. The event was at Microsoft office in New York.
I would like to thank everyone who attended my session. I presented on creating SharePoint 2016 farm on Microsoft Azure using Azure Resource Manager (ARM).
It is always amazing to speak at SharePoint Saturday New York since it is one of the biggest SharePoint community event with over 500 attendees every year.
Kudos to all the organisors, sponsors and volunteers for successful event!!!
I look forward to speaking in next year’s SharePoint Saturday NYC.
This blog is quick way to show you how you can query your user profile service application for specific user. It is always easy to find user by using the UserName but in case where you do not have username available but the display name available e.g. someone giving you excel file to load data in SharePoint list.
In that case you can use the following script to query the user profile service application using the display name.
Here is the script.
$site = Get-SPSite "http://intranet.contoso.com/"
$web = $site.OpenWeb();
$context = Get-SPServiceContext $site;
$profileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context);
$searchPattern = “USER DISPLAY NAME”;
$searchResults = $profileManager.Search($searchPattern);
foreach($result in $searchResults)