Share via


SPObjectSharingInformation.GetSharedWithUsers method

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

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

Syntax

'Declaration
Public Function GetSharedWithUsers As List(Of SPObjectSharingInformationUser)
'Usage
Dim instance As SPObjectSharingInformation
Dim returnValue As List(Of SPObjectSharingInformationUser)

returnValue = instance.GetSharedWithUsers()
public List<SPObjectSharingInformationUser> GetSharedWithUsers()

Return value

Type: System.Collections.Generic.List<SPObjectSharingInformationUser>
The list of users with whom an object is shared.

See also

Reference

SPObjectSharingInformation class

SPObjectSharingInformation members

Microsoft.SharePoint namespace