Skip to content
Ajša Terko edited this page Feb 15, 2024 · 5 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