SPDocumentSharingManager members

this class is a placeholder for all document sharing related methods

The SPDocumentSharingManager type exposes the following members.

Methods

  Name Description
Public methodStatic member GetDocumentLink
Public methodStatic member GetRoleDefinitionFromWeb Gets the role definition from the web that is associated with a given Role enum value.
Public methodStatic member GetRoleDefinitionIdFromWeb Gets the role definition ID from the web that is associated with a given Role enum value.
Public methodStatic member IsDocumentSharingEnabled Checks if document sharing is enabled on a document library.
Public methodStatic member SetDocumentLink
Public methodStatic member SetDocumentSharingEnabled Set whether document sharing should be enabled on a document library.
Public methodStatic member UpdateDocumentSharingInfo Allows a user to update a document's sharing info.

Top

See also

Reference

SPDocumentSharingManager class

Microsoft.SharePoint.Sharing namespace