WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead.

User.prototype.domain()

Get the user’s profile domain.

Syntax

user.domain() string

Description

Get the user’s profile domain. If a user has not created a profile website (home page), a generic domain will be returned, so that you don’t need to check for the existence of the domain.

Examples

Get the profile domain of the sandbox user.