Applies to: SharePoint Foundation 2010
In this article
Gets a value that specifies the collection of all public views on the list and personal views of the current user on the list.
var value = SP.List.get_views();
The current user has insufficient permissions. Error code: -2147024891.
It must not be null.