共用方式為


SPPermissionGroup Enumeration

Represents the permissions available for role definitions on a Web site. This enumeration is obsolete. Use the SPPermissionGroup64 enumeration instead.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration SPPermissionGroup
'Usage
Dim instance As SPPermissionGroup
[FlagsAttribute]
public enum SPPermissionGroup

Members

Member name Description
None Has no permissions on the Web site.
Guest Has limited permissions to view specific pages and page elements. Has access to a specific list but not to the entire site.
Reader Has read-only access to the Web site and cannot add content. Has permissions to view items, personalize Web Parts, use alerts, and create a Web site.
Contributor Has Reader permissions, as well as permissions to add and edit items, manage personal groups and views, and personalize Web Parts Pages. Cannot create lists or document libraries, but can add content to existing ones.
WebDesigner Has Contributor permissions, plus permissions to cancel check-out, delete items, manage lists, and add and customize pages. Can modify the structure of the site and create lists or document libraries.
Administrator Has full control of the Web site, including the ability to manage role definitions and groups and to view usage data.
All Has all permissions on the Web site.
ValidPermissions Has valid permissions for the site.

See Also

Reference

Microsoft.SharePoint Namespace