Pages

[SharePoint 2010 - Developpement] SPRunWithElevatedPriviledge still getting access denied

jeudi 1 mars 2012

  1. Check that you ran the code inside sprunWithElevated
  2. Check that you re instantiate a spsite after using SPContext, otherwise the site object will be run with normal priviledge
  3. If you are using SPLimitWebPartManager (lien vers dispose objects), place it in the spRunWithElevated priviledge too, because it instantiate an instance of SPWeb !

Aucun commentaire:

 

Blogroll

Jeff ANGAMA, is a business / technique consultant around SharePoint 2013 technologies. - More Infos Here -

Rechercher dans ce blog

Follow by Email

Where Users are from ?