Skip to content
Ajša Terko edited this page Jan 30, 2025 · 6 revisions



identity()

Description

Returns the identity of the user.

Arguments

  • none

Returns

Example

let currentUser = new User('someIdentity', 'someDisplayName');
let currentUserIdentity = currentUser.identity;



displayName()

Description

Returns the display name of the user.

Arguments

  • none

Returns

Example

let currentUser = new User('someIdentity', 'someDisplayName');
let displayName = currentUser.displayName;

Tutorials

Migration guides

Reference documentation

Clone this wiki locally