Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.