Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPList.AllowEveryoneViewItems property

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)

public bool AllowEveryoneViewItems { get; set; }

Property value

Type: System.Boolean
true if the documents or attachments can be viewed by everyone; otherwise, false.

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.

Show:
© 2015 Microsoft