How to get Hits of a particular user for his/her MySite
-
Hi, We are working on getting the MySite details of a particular user. While getting the details we need to show the total hits of a particular user. For this we are using personalSite.Usage.Hits (personalsite is the SPSite object). But the problem is here it is showing the hits including the particular user and system hits and sharepointdev account hits. We have used some urls like https://abcd.dd.com/personal/abcd109/\_layouts/usage.aspx https://abcd.dd.com/personal/abcd109/\_layouts/usageDetails.aspx https://abcd.dd.com/personal/abcd109/\_layouts/settings.aspx But these pages shows the links including System hits (Sharepoint\System or sharepointdev user)hits. We need to exclude system or sharepointdev hits from particular user hits. Let say abcd user hits are 10 sharepiontdev hits are 3 system hits are 2 we need to show 10-3-2 = 5 hits. But the above links are showing 10 hits. How can we get the result as 5 Hits ?