Share via


How to find Which users are accessing the site?

Question

Wednesday, May 13, 2015 12:08 PM

Hi,

I can get to know how many user are accessing the site based on the below script 
(get-spsite -webapplication http://mysharepoint.com -limit all).count
But my intention is need to know which user has accessed or accessing to the particular site. Please give solution, if you know.

Thanks

All replies (4)

Thursday, May 14, 2015 6:12 AM ✅Answered

Hi Jio,

As my understanding, you want to know which user has accessed or accessing to the particular site.

You mentioned that you used (get-spsite -webapplication http://sp -limit all).count to get the count of users who are accessing the site, I'm afraid it is not. As I know, using (get-spsite -webapplication http://sp -limit all).count is to get the number of site collections, not for users.

In SharePoint 2013, there is a link "Popularity Trends", you can use it to check the count of unique users. However, we are unable to find who has accessed the site.

More information about Popularity Trends:

http://sureshpydi.blogspot.com/2013/06/usage-reports-and-popularity-trends-in.html

To check who has accessed the site, I suggest you find a third party tool to do it, like:
http://www.vyapin.com/products/sharepoint-reporting/sharepoint-farm-reporter/sharepoint-reports#overview

Thanks,
Wendy

TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].


Thursday, May 14, 2015 6:22 AM ✅Answered | 2 votes

Hi Jio,

You can do this by leveraging Auditing on the SharePoint site collection.

Site Settings > Audit log report

From there you can generate a custom report and you should be able to get information on following events:

  • Opening or downloading documents, viewing items in lists, or viewing item properties
  • Editing items
  • Checking out or checking in items
  • Moving or copying items to another location in the site
  • Deleting or restoring items
  • Editing content types and columns
  • Searching site content
  • Editing users and permissions
  • Editing auditing settings and deleting audit log events
  • Workflow events
  • Custom events

This will include the event and User Id.  However, this still cause your content DB to grow because of the data logging.


Monday, May 18, 2015 7:24 AM ✅Answered

As suggested above, you need to enable auditing and it will let you know the information about, which user has accessed or accessing to the particular site.

Apart from the given manual steps, you may also consider on this automated solution (http://www.sharepointauditing.com/) that could be a good alternative approach to get the detail reports into real time.


Thursday, May 14, 2015 5:08 PM

Seconding this. Auditing is what you want.