How to share a file to external users in SharePoint 2013 via REST API?

Hi,

I am working on SharePoint 2013 integration project. I am uploading a file into sharepoint using add method https://msdn.microsoft.com/EN-US/library/office/dn450841.aspx#bk_FileCollectionAdd 

after upload successful I want to share this file with company user as well as with external user.

I can share file through sharepoint portal using share features but how to share a file with external user via REST API?

Thanks


July 17th, 2015 8:59am

Please read the link below which explains how you can share documents with users using REST. In order to use this code and share documents with external users, the person executing the code must be a site owner or have full control of the site collection. You would use the external users email address.

http://sharepointfieldnotes.blogspot.com/2014/09/sharing-documents-with-sharepoint-rest.html

Free Windows Admin Tool Kit Click here and download it now
July 18th, 2015 11:45pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics