Share via


SPObjectSharingInformation.IsSharedWithGuest property

Gets whether the object is shared with anonymous guests.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property IsSharedWithGuest As Boolean
    Get
    Private Set
'Usage
Dim instance As SPObjectSharingInformation
Dim value As Boolean

value = instance.IsSharedWithGuest
public bool IsSharedWithGuest { get; private set; }

Property value

Type: System.Boolean
true if the object is shared, otherwise false.

See also

Reference

SPObjectSharingInformation class

SPObjectSharingInformation members

Microsoft.SharePoint namespace