Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Collection of currently logged in Users

  Asked By: Cara    Date: Jan 21    Category: Sharepoint    Views: 1122

Is there a way to get a collection of all the currently logged in users to SharePoint Portal using OM.
This is what I'm doing
SPWeb myWeb = SPControl.GetContextWeb(Context);
string UserName = "";
foreach (SPUser curUser in myWeb.Users)
UserName=curUser.Name; //something here...



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Collection of currently logged in Users Or get search suggestion and latest updates.