SPList.AllowEveryoneViewItems Property (Microsoft.SharePoint) Home
SPList.AllowEveryoneViewItems Property (Microsoft.SharePoint)
Gets or sets a Boolean value specifying whether everyone can view documents in the document library or attachments to items in the list.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

'Usage

Dim instance As SPList
Dim value As Boolean

value = instance.AllowEveryoneViewItems

instance.AllowEveryoneViewItems = value

'Declaration

Public Property AllowEveryoneViewItems As Boolean

Property Value

true if the documents or attachments can be viewed by everyone; otherwise, false.
Remarks

The AllowEveryoneViewItems property does not apply to all list items, but only to documents in document libraries or to attachments in list items. This property only works when users browse directly to a file through the browser, and it has no effect on the rest of the user interface or the object model.

See Also

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View