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: , , , , ,  · Posted in: MOSS, Security, SharePoint, Tips & Tricks


myworldmaps infoyen