Web Property

The Web property of the SPRoleCollection class gets the parent site for the collection of site groups.

Property Value

A Microsoft.SharePoint.SPWeb object that represents the parent site.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security