I have a webpart(sandboxed) that save a query result in a personal view. I encountered an Access Denied error at the following line when an user have "ManagePersonalViews" but NOT "AddListItems" permission to a list.
var oView = oViewCollection.Add(strViewName, vFields, qry.Query, 100, true, false, Microsoft.SharePoint.SPViewCollection.SPViewType.Html, true);
Since the user can create personal view via UI, the API must be allowing it? Can anyone help me which API is used to create personal view? Thanks