cancel
Showing results for 
Search instead for 
Did you mean: 

how to retrive username and display it in share dashlet

malliswar
Champ in-the-making
Champ in-the-making
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
2 REPLIES 2

midoscofield
Champ in-the-making
Champ in-the-making
look in the Dashlet my-profile, it already brings back some information from the connected user

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