Hi Adam,
you can obtain the full name of the user currently logged in the platform
issuing the following code:
MashupPlatform.context.get('fullname');
Or if you prefer to obtain the username or nickname of the user, this other
code:
MashupPlatform.context.get('username');
Cheers,
Álvaro
> -------- Original Message --------
Subject: [Fiware-lab-help] How to display the name of logged-in user with
> a fi-ware widget? Date: Fri, 6 Sep 2013 03:16:42 +0200 From: Adam Saleh
> <adamthecamper at gmail.com> <adamthecamper at gmail.com> To:
> <fiware-lab-help at lists.fi-ware.eu> <fiware-lab-help at lists.fi-ware.eu>
>
> Hi,
>
> I can't seem to find how to get username of logged in user with my widget.
>
> Adam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20130906/3563e4d3/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy