Share via


ObjectSharingInformationUser.HasViewPermission property

Gets whether the user has view permission for a document.

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

Syntax

'Declaration
Public ReadOnly Property HasViewPermission As Boolean
    Get
'Usage
Dim instance As ObjectSharingInformationUser
Dim value As Boolean

value = instance.HasViewPermission
public bool HasViewPermission { get; }

Property value

Type: System.Boolean
true if the user has view permission, otherwise false.

See also

Reference

ObjectSharingInformationUser class

ObjectSharingInformationUser members

Microsoft.SharePoint.Client namespace