ObjectSharingInformation.CanCurrentUserShare Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Microsoft.SharePoint.Client.Remote]
public static Microsoft.SharePoint.Client.ClientResult<Microsoft.SharePoint.Client.UserSharingCapabilities> CanCurrentUserShare (Microsoft.SharePoint.Client.ClientRuntimeContext context, string docId);
static member CanCurrentUserShare : Microsoft.SharePoint.Client.ClientRuntimeContext * string -> Microsoft.SharePoint.Client.ClientResult<Microsoft.SharePoint.Client.UserSharingCapabilities>
Public Shared Function CanCurrentUserShare (context As ClientRuntimeContext, docId As String) As ClientResult(Of UserSharingCapabilities)
Parameters
- context
- ClientRuntimeContext
- docId
- String
Returns
- Attributes