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)
Syntax
'Declaration
Public Function GetSubwebsForCurrentUser As SPWebCollection
'Usage
Dim instance As SPWeb
Dim returnValue As SPWebCollection
returnValue = instance.GetSubwebsForCurrentUser()
public SPWebCollection GetSubwebsForCurrentUser()
Return value
Type: Microsoft.SharePoint.SPWebCollection
The subsites.