How do I use AppPool credentials?
Our webapp is able to download files from Sharepoint and surface them to the user, but only if I provide my personal username and password to the process. I received a suggestion that: we "should use the credentials of the AppPool (UseDefaultCredentials=True.)" What changes do I make to for this to work with UseDefaultCredentials=True? And what is UseDefaultCredentials=true? string documentName = null; string contentType = "unknown"; // We don't want to use this method of credentials System.Net.NetworkCredential cred = new System.Net.NetworkCredential("USERNAME", "PASSWORD"); ClientContext cli
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.