다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property ListsForCurrentUser As Boolean
    Get
    Set
'Usage
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

Reference

SPListCollection Class

SPListCollection Members

Microsoft.SharePoint Namespace