共用方式為


SPListCollection.ListsForCurrentUser property

取得或設定布林值,指定是否要從集合傳回的目前使用者具有權限的清單。

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

Syntax

'宣告
Public Property ListsForCurrentUser As Boolean
    Get
    Set
'用途
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如果只會傳回的清單的使用者具有權限 ;false如果傳回集合中的所有清單。

請參閱

參照

SPListCollection class

SPListCollection members

Microsoft.SharePoint namespace