次の方法で共有


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)

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