Get user - Fluid Topics - Latest

Fluid Topics Designer Guide

Category
Reference Guides
Audience
public
Version
Latest

The getUser() method allows to get information about the current user. It is the same information as the User variable.

For example:

const status = FluidTopicsAuthenticationService.getUser();
console.log(status.isAuthenticated);