Export (0) Print
Expand All
Expand Minimize

SPWeb.Roles Property

Windows SharePoint Services 3

NOTE: This API is now obsolete.

Use the RoleDefinitions property to get the collection of role definitions for a Web site. In Windows SharePoint Services 2.0, the Roles property was used to get the collection of site groups on the Web site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("Use the RoleDefinitions property instead")]
public SPRoleCollection Roles { get; }

Property Value

Type: Microsoft.SharePoint.SPRoleCollection
An SPRoleCollection object that represents the site groups.

Community Additions

ADD
Show:
© 2015 Microsoft