how to retrive username and display it in share dashlet
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2015 08:16 AM
hi all
is there any way, i can get the username of currently loged in user and display it in share dashlet
i tried person.properties.username but it always shows "admin" only even if i am logedin as other user
and also i tried
String name = AuthenticationUtil.getFullyAuthenticatedUser();
in java backed webscripts but same problem here also always returns admin
please anyone help me
Thanks in advance
is there any way, i can get the username of currently loged in user and display it in share dashlet
i tried person.properties.username but it always shows "admin" only even if i am logedin as other user
and also i tried
String name = AuthenticationUtil.getFullyAuthenticatedUser();
in java backed webscripts but same problem here also always returns admin
please anyone help me
Thanks in advance
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2015 05:09 AM
look in the Dashlet my-profile, it already brings back some information from the connected user
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2015 07:32 AM
Thank you ,that helped me
i tried few ways, that were mentioned in api docs and other sites but none worked
i forgot about my-profile dashlet –its like i had answer with me all the time and i was searching somewhere else for it
Thanks again
i tried few ways, that were mentioned in api docs and other sites but none worked
i forgot about my-profile dashlet –its like i had answer with me all the time and i was searching somewhere else for it
Thanks again
