SP.Sharing.DocumentSharingManager object

This class is a placeholder for all document sharing related methods.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Sharing.DocumentSharingManager()

Members

The DocumentSharingManager object has the following members.

Constructor

The DocumentSharingManager object has the following constructor.

Constructor

Description

DocumentSharingManager

Initializes a new instance of the SP.Sharing.DocumentSharingManager object.

Methods

The DocumentSharingManager object has the following methods.

Method

Description

getRoleDefinition

Gets the role definition that is associated with a given Role enum value.

isDocumentSharingEnabled

Checks if document sharing is enabled on a document library.

updateDocumentSharingInfo

Allows a user to update a document's sharing info.