0

In my code, I call the Recycle() method for my SPList object. But I am getting this error for certain users (not for the Site Collection Administrator):

<nativehr>0x80070005</nativehr>

I am thinking it is a permissions issue. But is it for the list, the Recycle Bin, or the Site? Does anyone know the minimum permission level for a user to execute the Recycle() method?

1 Answer 1

1

Users who have Full Control(Site Owners group) or Design ( Designer group )or Edit (site members group) permission level can delete lists.

enter image description here

The right to delete list is provided via the Manage Lists permission level. So any user who has this permission level is able to delete the list.

enter image description here

1
  • Thanks, I was able to work that out, but you gave a good answer for future Googling. As it turns out, I just used elevated permissions so I wouldn't have to give that level of permission.
    – CigarDoug
    Commented Feb 15, 2017 at 18:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.