Role enumeration

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

Namespace:  Microsoft.SharePoint.Sharing
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public Enumeration Role
Dim instance As Role
public enum Role


Member name Description
None A user has no permission to share a securable object.
View a user can only read a securable object.
Edit a user can edit or read a securable object, but cannot delete the object.
Owner a user is an owner of a securable object, who can manage permissions, and edit, read or delete the object.

See also


Microsoft.SharePoint.Sharing namespace