SPWeb.RoleDefinitions Property
Gets the collection of role definitions for the website.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Property Value
Type: Microsoft.SharePoint.SPRoleDefinitionCollectionAn SPRoleDefinitionCollection object that represents the role definitions.