Share via


ObjectSharingInformation.CanCurrentUserShareRemote method

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

Syntax

'Declaration
Public Shared Function CanCurrentUserShareRemote ( _
    context As ClientRuntimeContext, _
    docId As String _
) As ClientResult(Of UserSharingCapabilities)
'Usage
Dim context As ClientRuntimeContext
Dim docId As String
Dim returnValue As ClientResult(Of UserSharingCapabilities)

returnValue = ObjectSharingInformation.CanCurrentUserShareRemote(context, _
    docId)
public static ClientResult<UserSharingCapabilities> CanCurrentUserShareRemote(
    ClientRuntimeContext context,
    string docId
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<UserSharingCapabilities>

See also

Reference

ObjectSharingInformation class

ObjectSharingInformation members

Microsoft.SharePoint.Client namespace