Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPRoleType enumeration

Specifies the types of roles that are available for users and groups.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableTypeAttribute(Name = "RoleType")]
[SubsetCallableTreatAsExternalTypeAttribute]
public enum SPRoleType
Member nameDescription
NoneHas no rights on the Web site.
GuestHas limited rights to view pages and specific page elements. This role is used to give users access to a particular page, list, or item in a list, without granting rights to view the entire site. Users cannot be added explicitly to the Guest role; users who are given access to lists or document libraries by way of per-list permissions are added automatically to the Guest role. The Guest role cannot be customized or deleted.
ReaderHas rights to view items, personalize Web parts, use alerts, and create a top-level Web site using Self-Service Site Creation. A reader can only read a site; he or she cannot add content. When a reader creates a site using Self-Service Site Creation, he or she becomes the site owner and a member of the Administrator role for the new site. This does not affect the user's role membership for any other site. Rights included: CreateSSCSite, ViewListItems, ViewPages.
ContributorHas Reader rights, plus rights to add items, edit items, delete items, manage list permissions, manage personal views, personalize Web Part Pages, and browse directories. Inclues all rights in the Reader role, plus the following: AddDelPrivateWebParts, AddListItems, BrowseDirectories, CreatePersonalGroups, DeleteListItems, EditListItems, ManagePersonalViews, UpdatePersonalWebParts. Contributors cannot create new lists or document libraries, but they can add content to existing lists and document libraries.
WebDesignerHas Contributor rights, plus rights to cancel check out, delete items, manage lists, add and customize pages, define and apply themes and borders, and link style sheets. Includes all rights in the Contributor role, plus the following: AddAndCustomizePages, ApplyStyleSheets, ApplyThemeAndBorder, CancelCheckout, ManageLists.WebDesigners can modify the structure of the site and create new lists or document libraries.
AdministratorHas all rights from other roles, plus rights to manage roles and view usage analysis data. Includes all rights in the WebDesigner role, plus the following: ManageListPermissions, ManageRoles, ManageSubwebs, ViewUsageData. The Administrator role cannot be customized or deleted, and must always contain at least one member. Members of the Administrator role always have access to, or can grant themselves access to, any item in the Web site.
EditorHas Contributor rights, plus rights to manage lists. Includes all rights in the Contributor role. Editors can create new lists or document libraries.

Windows SharePoint Services 3.0 manages permissions through role definitions, not site groups as in Windows SharePoint Services 2.0. Local administrators of servers are no longer automatically granted access to any Web site. Members of the SharePoint Administrator group are farm administrators and have access only to the central administration site collection.

You can assign a user, security group, or SharePoint Foundation group to a role or role definition. Both groups and users can be members of groups. For general information about groups and security, see Security, Users, and Groups in Windows SharePoint Services.

The Administrator and Guest roles cannot be modified or deleted.

For information about the permissions that are available for users and groups, see the SPBasePermissions enumeration. For information about role definitions, see the SPRoleDefinition class.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.