siteSettings.SiteId
Overview¶
This is the "SiteId Method" of the "siteSettings Object." In the "Server Script", the "site ID" is obtained using the "Title" of the "Site" as the key.
Syntax¶
Parameters¶
| No | Parameter | Type | Required | Overview |
|---|---|---|---|---|
| 1 | title | string | Yes | "Title" of the "Site" to be retrieved |
Return Value¶
Return a long type "site ID". If the "Site" with the specified "Title" is not found, it returns 0.
Usage Examples¶
In the example below, the "site ID" of a "Site" whose "Title" is My site title is retrieved.