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)

Syntax

'Declaration
Public Enumeration Role
'Usage
Dim instance As Role
public enum Role

Members

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

Reference

Microsoft.SharePoint.Sharing namespace