Site

Description

Returns the domain name for the current document.

Applies to

PSDocumentClass object

Syntax

psDocument.Site( )

Returns

String

Usage

At runtime, Site retrieves the value of the SERVER_NAME server environment variable.

Examples

Example 1

The following example returns the domain name of the current document into a variable called ”mydomain”:

mydomain = psDocument.Site( );