I got a document library on which BreakRoleInheritance(false) was executed. I got a test-user which is allowed to view but not add or edit items. Nobody has rights to add an item. But now I got some custom code executed by the test-user which should allow
him to add a new file to a documentlibrary.
newFile = docLib.RootFolder.Files.Add(
Even with elevated privileges the user gets in this line of code a "access denied" message. I'm guessing I'm trying to use the wrong approach so any help is appreciated.
View Complete Post