Get first name and surname of authenticated user

Hi!
I’m using $rootScope.authentication.name in the forms to obtain the logged user name and build a little history to pass through the flow. Is there a way to obtain the user first name and surname from the HTML form, using vanilla Javascript or AngularJS?

Thanks in advance,

Hi @felipRR - Could you please tell me how are you using $rootScope.authentication in camunda to retrieve logged-in user name.

Thanks in Advance!