cancel
Showing results for 
Search instead for 
Did you mean: 

Get Current User in Client Side Share Javascript?

mxc
Confirmed Champ
Confirmed Champ
Hi all,

How does one get the email address of the current logged in user in client side javascript in sharre?

thanks
1 REPLY 1

romschn
Star Collaborator
Star Collaborator
Using Alfresco.constants.USERNAME, you should get the username for the current user and then to get the email address for it,I think for that you will have to invoke a repository webscript and get the email address of the current user.

Hope this helps.