Table of Contents

Enum Role

Namespace
PnP.Core.Model.SharePoint
Assembly
PnP.Core.dll

This enum class defines a set of abstract roles that a user can be assigned to share a securable object in a document library

public enum Role

Fields

Edit = 2

a user can edit or read a securable object, but cannot delete the object.

LimitedEdit = 5

a user can edit or read a shared object, but cannot delete the object.

LimitedView = 4

a user can only read a shared object.

ManageList = 9

a user can edit or read a securable object, plus manage lists. Includes all rights in the SharePoint standard Contributor role, plus ManageLists.

None = 0

A user has no permission to share a securable object.

Owner = 3

a user is an owner of a securable object, who can manage permissions, and edit, read or delete the object.

RestrictedView = 7

a user can view a shared object only in web viewer, cannot download the object.

Review = 6

a user can read a shared object, plus comment in/on a shared object.

Submit = 8

a user can submit files to a file request folder. Can not view or edit folder contents.

View = 1

a user can only read a securable object.