SPWeb.GetSubwebsForCurrentUser method

Gets the subsites beneath the current site of which the current user is a member.

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


Public Function GetSubwebsForCurrentUser As SPWebCollection
Dim instance As SPWeb
Dim returnValue As SPWebCollection

returnValue = instance.GetSubwebsForCurrentUser()
public SPWebCollection GetSubwebsForCurrentUser()

Return value

Type: Microsoft.SharePoint.SPWebCollection
The subsites.

See also


SPWeb class

SPWeb members

GetSubwebsForCurrentUser overload

Microsoft.SharePoint namespace