GetSubwebsForCurrentUser() Method

The GetSubwebsForCurrentUser method of the SPWeb class returns the collection of subsites beneath the current site of which the current user is a member.

Return Value

A Microsoft.SharePoint.SPWebCollection object that represents the collection of subsites.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security