SPMobileComponent.AllowView Method
Gets a value indicating whether the current user has permission to view the specified list item.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overridable Function AllowView ( _
item As SPListItem _
) As Boolean
'Usage
Dim item As SPListItem
Dim returnValue As Boolean
returnValue = Me.AllowView(item)
protected virtual bool AllowView(
SPListItem item
)
Parameters
item
Type: Microsoft.SharePoint.SPListItemThe SPListItem object that the user needs to know whether he or she has permission to view.
Return Value
Type: System.Boolean
true if the user has permission to view the item; otherwise, false.