Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Defines a single role definition, including a name, description, management properties, and a set of rights.
The SPRoleDefinition type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
SPRoleDefinition() | Initializes a new instance of the SPRoleDefinition class that has no permissions. |
![]() |
SPRoleDefinition(SPRoleDefinition) | Initializes a new instance of the SPRoleDefinition class by copying the permissions of another role definition. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
BasePermissions | Gets or sets the base permissions for a role definition. |
![]() |
Description | Gets or sets a description for the role definition. |
![]() |
Hidden | Gets a Boolean value that indicates whether the role definition is displayed on the Add Users page. |
![]() |
Id | Gets the ID of the role definition within the collection. |
![]() |
Name | Gets or sets the name of the role definition. |
![]() |
Order | Specifies the order in which permission levels are displayed on the Permission Levels page for a site collection. |
![]() |
ParentWeb | Gets the parent Web site for the role definition. |
![]() |
Type | Gets the type of the role definition. |
![]() |
Xml | Gets the permissions for the role definition in XML format. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
Update | Updates the role definition with changes that have been made to its properties. |
Top
.gif)
.gif)
.gif)