Compartilhar via


Roles Property

The Roles property of the SPGroup class gets the collection of site groups to which the cross-site group belongs in the current site.

Property Value

A Microsoft.SharePoint.SPRoleCollection object that represents the site groups.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security