Tag Info

Hot answers tagged

2

See http://blogs.msdn.com/b/kaevans/archive/2015/03/23/using-openid-connect-with-sharepoint-apps.aspx where I explain that the app is anonymous by default but a user cannot access content because of the way that TokenHelper checks first for a valid context token. If a context token is passed, you use the context token to obtain an access token. If that ...


1

I am assuming that you are using your given code and SharePoint 2013 for your question. You are using SPSecurity.RunWithElevatedPrivileges(delegate().. that means you can have full access to the operation which you are performing inside that code blocks, this will use Application pool credentials automatically to perform the operations. Take a look at MSDN ...



Only top voted, non community-wiki answers of a minimum length are eligible