SPWeb.GetSubwebsForCurrentUser Method (Int32, Int16)
Gets the subsites beneath the current website in which the current user is a member, based on the specified site definition and configuration.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public SPWebCollection GetSubwebsForCurrentUser( int nWebTemplateFilter, short nConfigurationFilter )
Parameters
- nWebTemplateFilter
- Type: System.Int32
The site definition. This parameter corresponds to the ID attribute of the Template element in Collaborative Application Markup Language (CAML).
- nConfigurationFilter
- Type: System.Int16
The identifier (ID) of a configuration. This parameter corresponds to the ID attribute of the Configuration element in CAML.