Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Display User Information on Sharepoint Page

$
0
0

Hello all,

I like to display some User information on a custom Page in Sharepoint. We have an Active Directory and working Profile Synchronization Service.

So I tried to use the following function to display the User information:

<%@ Register Tagprefix="SPSWC" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<SPSWC:ProfilePropertyLoader id="m_objLoader" LoadFullProfileOfCurrentUser="false" runat="server" />
<SPSWC:ProfilePropertyValue PropertyName="Department" runat="server"/>

This is working for the current User that is logged on to Sharepoint at the moment. But I like to show the information from a different User... Maybe someone here has an idea how I could make this?

Thanks in advance.


Regards, Simon


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>