ListFormWebPart.HideIfNoPermissions property

Gets or sets a value to indicate whether the ListFormWebPart should be hidden if the user does not have rights to perform the related task on the list data.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property HideIfNoPermissions As Boolean
    Get
    Set
'Usage
Dim instance As ListFormWebPart
Dim value As Boolean

value = instance.HideIfNoPermissions

instance.HideIfNoPermissions = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
public bool HideIfNoPermissions { get; set; }

Property value

Type: System.Boolean
true if the current user does not have rights for the related list data; otherwise, false.

See also

Reference

ListFormWebPart class

ListFormWebPart members

Microsoft.SharePoint.WebPartPages namespace