Documentation for a newer release is available. View Latest
Esta página no está disponible actualmente en Español. Si lo necesita, póngase en contacto con el servicio de asistencia de Icon (correo electrónico)

Active User

The active user service gets the username of the active user by decoding the JWT token. It uses the ngx-cookie-service to get the JWT from the browser cookie.

It also gets the allowed processing entities from the JWT token.

Example usage:

private getUserName(): void {
        this.userName = this.activeUserService.getActiveUserInfo();
    }