Compartilhar via


Roles Property

The Roles property of the SPUser class gets the collection of site groups of which the user is a member.

Property Value

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

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security