SPWeb.RoleDefinitions property
Gets the collection of role definitions for the website.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property RoleDefinitions As SPRoleDefinitionCollection
Get
'Usage
Dim instance As SPWeb
Dim value As SPRoleDefinitionCollection
value = instance.RoleDefinitions
public SPRoleDefinitionCollection RoleDefinitions { get; }
Property value
Type: Microsoft.SharePoint.SPRoleDefinitionCollection
An SPRoleDefinitionCollection object that represents the role definitions.