Share via

SPListCollection.ListsForCurrentUser property

Gets or sets a Boolean value that specifies whether only lists to which the current user has permissions are returned from the collection.

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


Public Property ListsForCurrentUser As Boolean
Dim instance As SPListCollection
Dim value As Boolean

value = instance.ListsForCurrentUser

instance.ListsForCurrentUser = value
public bool ListsForCurrentUser { get; set; }

Property value

Type: System.Boolean
true if only lists to which the user has permissions are returned; false if all lists in the collection are returned.

See also


SPListCollection class

SPListCollection members

Microsoft.SharePoint namespace