Showing current logged in user’s profile picture next to Welcome Menu in SharePoint 2013
Views (298)
Hi,
We recently got a requirement to show the logged in user’s profile picture along with the name on the Welcome Menu on the top right.

We followed these steps to implement it.
- Open the master page used by the Site (Site Settings àMaster Pages and page layouts à Select the master page file à right click and download a copy.
- Add the following tags in the master page.
<%@
Register
Tagprefix=”SPSWC”
Namespace=”Microsoft.SharePoint.Portal.WebControls”
Assembly=”Microsoft.SharePoint.Portal, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c”
%>

<SPSWC:ProfilePropertyLoader
runat=”server”
/>
<SPSWC:ProfilePropertyImage
PropertyName=”PictureUrl”
style=”float: left; height: 20px;“
ShowPlaceholder=”true”
id=”PictureUrlImage”
runat=”server”/>

Saving and uploading the master page.
Hope it helps.
Filed under: SharePoint, SharePoint 2013 Tagged: SharePoint, SharePoint 2013
This was originally posted here.

Like
Report
*This post is locked for comments