none
ViewsLifeTime - Unique User ID details

    Question

  • Hi,

    I want to display Site visitors count in my sharpoint home page. Using REST api (http://<siteurl>/_api/search/query?querytext) i got the count from "ViewsLifeTime" property. It's showing total visitors count till date. But i want to get user id's (user account) details . Is there any way to get the user account details pertaining to the page count?

    Thanks in advance.


    Thanks, Sures | MCTS SharePoint


    • Modifié Suresr vendredi 18 mai 2018 07:39
    vendredi 18 mai 2018 07:38

Toutes les réponses

  • Hi Suresr,

    Using Rest API, we can only get the count of Site visitors but user Account detailed information.

    As a workaround, you can use audit log with content viewing to get the user id through site settings->Audit log reports->content viewing report->Report data sheet.

    Best regards,

    Grace Wang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    lundi 21 mai 2018 07:37