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

User.prototype.url()

Get the user’s home page URL.

Syntax

user.url() string

Description

Get the user’s home page URL. For example http://example.com/.

If a user has not created a home page, a generic URL will be returned, so that you don’t need to check for its existence.

Examples

Get the home page URL of the sandbox user.