SP.Site.id Property

Applies to: SharePoint Foundation 2010

Gets the GUID that identifies the site collection.

var value = SP.Site.get_id();

Property Value

Type: SP.Guid

The GUID that identifies the site collection.

Applies To

SP.Site Class

See Also

Reference

SP.Site Methods

SP.Site Properties

SP Namespace