SP.Web.id Property
Applies to: SharePoint Foundation 2010
Gets a value that specifies the site identifier for the site.
var value = SP.Web.get_id();
Property Value
Type: SP.Guid
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to: SharePoint Foundation 2010
Gets a value that specifies the site identifier for the site.
var value = SP.Web.get_id();
Type: SP.Guid