Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. How to get Hits of a particular user for his/her MySite

How to get Hits of a particular user for his/her MySite

Scheduled Pinned Locked Moved SharePoint
sharepointcomhelptutorialquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pavankasyapa
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups