SP.ObjectSharingInformation object

Contains information about the sharing state of a securable object.

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

var object = new SP.ObjectSharingInformation()

Members

The ObjectSharingInformation object has the following members.

Constructor

The ObjectSharingInformation object has the following constructor.

Constructor

Description

ObjectSharingInformation

Initializes a new instance of the SP.ObjectSharingInformation object.

Methods

The ObjectSharingInformation object has the following methods.

Method

Description

getListItemSharingInformation

Gets information about the sharing state for a specified list item.

getObjectSharingInformation

Gets information about the sharing state for a specified securable object.

getSharedWithUsers

Returns the list of users with whom an object is shared.

getWebSharingInformation

Gets information about the sharing state for a specified site.

Properties

The ObjectSharingInformation object has the following properties.

Property

Description

anonymousEditLink

anonymousViewLink

canManagePermissions

hasPendingAccessRequests

hasPermissionLevels

isSharedWithCurrentUser

isSharedWithGuest

isSharedWithMany

isSharedWithSecurityGroup

pendingAccessRequestsLink