The URL to the personal profile picture.
The URL to the user's avatar as a string.
The unique textual code (username) for the user.
The user's unique code as a string.
The email associated with the user's account.
The user's email as a string.
The unique and unchangeable user identifier.
The user ID as a number.
Serializes the instance into a plain JavaScript object.
This method is automatically invoked when the instance is passed to JSON.stringify()
.
In Node.js, it's also used when the instance is logged via console.log()
(via the util.inspect
mechanism).
Represents user profile information.
Remarks
This class provides access to user-related profile data, including unique identifiers, display names, email addresses, and authentication tokens for Centrifugo connections.