Gets the collection of role definitions for the Web site.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public ReadOnly Property RoleDefinitions As SPRoleDefinitionCollection
Dim instance As SPWeb
Dim value As SPRoleDefinitionCollection
value = instance.RoleDefinitions
public SPRoleDefinitionCollection RoleDefinitions { get; }
Property Value
An SPRoleDefinitionCollection object that represents the role definitions.