UserName of a prtlet page

How to get the current user name of a portlet page?

Hi,

#{facesContext.externalContext.userPrincipal.name}

Cheers
Bruno

thanks Bruno it’s working fine