Forum Discussion

Will # _________ H's avatar
Will # _________ H
Brass Contributor
Feb 17, 2020

SharePoint Login and Sharing Feature

Hi there,

we know we could use the SPAuditEventType to catch the event information for any user's behaviors (check in, check out, etc ...) on the document. my question is whether or not we could extract the LOGIN Event and SHARING Document Event in the personal site by using APIs

 

thanks.

3 Replies

    • Will # _________ H's avatar
      Will # _________ H
      Brass Contributor
      Hi,
      Thanks for your information. My environment is On premise. And I have solved the login audit logs but I still stuck on the SHARE issue.

      Thanks
      • O365Developer's avatar
        O365Developer
        Brass Contributor

        Will # _________ H 

        I`m not sure which version of sharepoint you are using here,to my knowledge there is no event receiver for Sharing ,which can trigger custom code.

         

        However we need to see ,if we can leverage any existing event receiver or a custom Action "Custom Share" which can achieve the result,possibly.

         

        https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ff408183(v%3Doffice.14)

Resources