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

User.prototype.userId()

Get the user’s user ID.

Syntax

user.userId() string

Description

Get the user’s user ID.

Users have the same user ID on all websites of the Boomla platform.

Examples

Get the user ID of the sandbox user.