Subsite.getForURL (Method)
Returns the subsite information after resolving the subsite from the URL's directories.
Returns:
Subsite_GetForURL_Result (struct)
Each row of the returned query results has the following fields:
Field Name | Type | Description |
---|---|---|
SubsiteID | SubsiteID_0 | The subsite ID, or 0. |
SubsiteURL | SubsiteURL_EmptyString | The subsite's server-relative URL, or empty string. |
Arguments:
Name | Type | Required | Description |
---|---|---|---|
url | FullyQualifiedURL | Required | The URL to get the subsite for. |
Context:
License Requirements | (none) |
Permission Requirements | ContributorOrServerCode |
Deny Context | (none) |
Require Context | (none) |
Author Lock | (not required) |
Transaction Logging | Transaction logging is disabled for this method |
Customization | This method may be customized at the site level |
Error Codes:
None
Notes:
None