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
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- docId
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.ClientResult<UserSharingCapabilities>
See also
Reference
ObjectSharingInformation class