Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

I need to find within last week how many times a user is login on SharePoint site. I google but does not succeed.

Thanks in advance
Posted

You can get information from the Web Analytics report on the top visitors or the number of unique visitors but it doesn't collect the details OOB you are looking for. You would need to implement a third-party feature or create something yourself, such as a custom HTTPHandler to track the logins.
 
Share this answer
 
Comments
Khaniya 31-Oct-11 0:40am    
thanks Mark
Hi,

If you like to go for customization,
Step 1: Create a custom list for store the user loging information. ( user / Login time)
Step 2: Write a custom code (using object model) to read the recordes of the time duration you want ; and filter out the logged in user and take the logedIn count.
Step 3: Then you can create a simple web part for display the history data.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900