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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.