Get web collection count for read permission
Issue:- For one of requirement; I had to get subwebs and lists of current site for current user. To do so I just used “SPWeb.Web.Count” and it works well for admin. But for reader it throws access denied exception. If we see in debug mode then error detail would be like below:- threw an exception […]
April 16, 2012
В·
Infoyen В·
No Comments
Tags: access denied exception, MOSS, RunWithElevatedPrivileges, SharePoint, SPWeb.Webs.Count, User With read Permission В· Posted in: MOSS, Security, SharePoint, Tips & Tricks