SPWeb.GetSubwebsForCurrentUser method (Microsoft.SharePoint) (original) (raw)

Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

SPWeb.GetSubwebsForCurrentUser method

In this article

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

Overload list

| | Name | Description | | | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | Public method | GetSubwebsForCurrentUser() | Gets the subsites beneath the current site of which the current user is a member. | | Public method | GetSubwebsForCurrentUser(Int32) | Gets the subsites beneath the current website of which the current user is a member based on the specified site definition. | | Public method | GetSubwebsForCurrentUser(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. |

Top

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace

Additional resources

In this article