SPMobileUploadPageNavigation.AllowNew Method
Determines whether the current user has permission to upload the new item in the list.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overrides Function AllowNew ( _
list As SPList _
) As Boolean
'Usage
Dim list As SPList
Dim returnValue As Boolean
returnValue = Me.AllowNew(list)
protected override bool AllowNew(
SPList list
)
Parameters
list
Type: Microsoft.SharePoint.SPListThe SPList object represents the list.
Return Value
Type: System.Boolean
true if the current user has contributor or greater permission for the list; otherwise, false.
Remarks
This override determines whether the current user has permission to create a new item in the list.
See Also
Reference
SPMobileUploadPageNavigation Class