SPWeb.RoleDefinitions property
SharePoint 2013
Gets the collection of role definitions for the website.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: Microsoft.SharePoint.SPRoleDefinitionCollectionAn SPRoleDefinitionCollection object that represents the role definitions.