SPObjectSharingInformation members

Contains information about the sharing state of a securable object.

The SPObjectSharingInformation type exposes the following members.

Constructors

  Name Description
Public method SPObjectSharingInformation Initializes a new instance of the SPObjectSharingInformation class.

Top

Properties

  Name Description
Public property AnonymousEditLink Gets the anonymous edit link for the securable object, or an empty string if the link is not available.
Public property AnonymousViewLink Gets the anonymous view link for the securable object, or an empty string if the link is not available.
Public property CanManagePermissions Gets whether the current user has permission to manage permissions for the securable object.
Public property HasPendingAccessRequests Gets whether there are pending access requests for the securable object.
Public property HasPermissionLevels Gets whether permission levels are retrieved for the securable object (only applies to a document).
Public property IsSharedWithCurrentUser Gets whether the object is shared with the user making the current request.
Public property IsSharedWithGuest Gets whether the object is shared with anonymous guests.
Public property IsSharedWithMany Gets whether the object should be displayed as shared with many people.
Public property IsSharedWithSecurityGroup Gets whether the object is shared with at least one security group.
Public property PendingAccessRequestsLink Gets the link to the access requests page for the securable object, or an empty string if the link is not available.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public methodStatic member GetListItemSharingInformation Retrieves information about the sharing state for a given list.
Public methodStatic member GetObjectSharingInformation Gets information about the sharing state for a given securable object.
Public method GetSharedWithUsers Returns the list of users with whom an object is shared.
Public method GetType (Inherited from Object.)
Public methodStatic member GetWebSharingInformation Retrieves information about the sharing state for the current site. The current site is the site in the context of which this method is invoked.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPObjectSharingInformation class

Microsoft.SharePoint namespace