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