Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

How to show user presence indicator in custom webparts in sharepoint 2010?

$
0
0

I am trying to show the user presence indicator(online status) as in office communicator in the custom webparts created in visual studio and deployed in sharepoint 2010.So far I have implemented

LiteralControl l =newLiteralControl();
l
.Text="<span><img border=\"0\" height=\"12\" src=\"/_layouts/images/imnhdr.gif\"onload=\"IMNRC('"+
userEmail
+"')\"ShowOfflinePawn=\"1\" alt=\"\" id=\"user_presence_icon\"/></span>";
this.Controls.Add(l);

But this code is for only only user and the user email has to be provided.Is there any way to get all the user required for a particular web part and show the presence indicator for them?Please suggest....

Thanks

Suu30


Viewing all articles
Browse latest Browse all 17574

Trending Articles



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