SP.Web Properties
Applies to: SharePoint Foundation 2010
The following table lists the properties of the SP.Web class.
Properties
Name |
Description |
---|---|
Gets a value that specifies whether the current user is allowed to use a designer application to customize this site. |
|
Gets a value that specifies whether the current user is allowed to edit the master page. |
|
Gets a value that specifies whether the current user is allowed to revert the site to a default site template. |
|
Gets a value that specifies whether the site allows RSS feeds. |
|
Gets a collection of metadata for the Web site. |
|
Gets or sets the group of users who have been given contribute permissions to the website. |
|
Gets or sets the associated owner group of the website. |
|
Gets or sets the associated visitor group of the website. |
|
Gets the collection of all content types that apply to the current scope, including those of the current Web site, as well as any parent Web sites. |
|
Gets a value that specifies the collection of all fields available for the current scope, including those of the current site, as well as any parent sites. |
|
Gets the collection of content types for the Web site. |
|
Gets a value that specifies when the site was created. |
|
Gets the current user of the site. |
|
Gets or sets the description for the site. |
|
Gets a value that specifies the effective permissions that are assigned to the current user. |
|
Gets a value that specifies the collection of features that are currently activated in the site. |
|
Gets the collection of field objects that represents all the fields in the Web site. |
|
Gets the collection of all first-level folders in the Web site. |
|
Gets a value that specifies the site identifier for the site. |
|
Gets a value that specifies the LCID for the language that is used on the site. |
|
Gets a value that specifies when an item was last modified in the site. |
|
Gets the collection of all lists that are contained in the Web site available to the current user based on the current user’s permissions. |
|
Gets a value that specifies the collection of list definitions and list templates available for creating lists on the site. |
|
Gets a value that specifies the navigation structure on the site, including the Quick Launch area and the top navigation bar. |
|
Gets or sets a value that specifies whether the Quick Launch area is enabled on the site. |
|
Gets or sets a value that specifies whether the Recycle Bin is enabled. |
|
Gets the collection of role definitions for the Web site. |
|
Gets the root folder for the Web site. |
|
Gets or sets the server-relative URL for the Web site. |
|
Gets a value that specifies whether the current user is able to view the file system structure of this site. |
|
Gets the collection of groups for the site collection. |
|
Gets the UserInfo list of the site collection that contains the Web site. |
|
Gets or sets a value that specifies whether the RSS feeds are enabled on the site. |
|
Gets or sets the title for the Web site. |
|
Gets or sets value that specifies whether the tree view is enabled on the site. |
|
Gets or sets the user interface (UI) version of the Web site. |
|
Gets or sets a value that specifies whether the settings UI for visual upgrade is shown or hidden. |
|
Gets a value that specifies the collection of user custom actions for the site. |
|
Gets a Web site collection object that represents all Web sites immediately beneath the Web site, excluding children of those Web sites. |
|
Gets a value that specifies the collection of all workflow associations for the site. |
|
Gets a value that specifies the collection of workflow templates associated with the site. |