AnsweredAssumed Answered

Name & Surname of the current user

Question asked by redbull on Aug 9, 2012
Latest reply on Sep 4, 2012 by romschn
Hi all.
From my class after that I read the current username:

// get the current user
FacesContext context = FacesContext.getCurrentInstance();
String currentUserName = Repository.getServiceRegistry(context).getAuthenticationService().getCurrentUserName();
how I can get "name" and "surname" of "currentUserName"?
Thanks a lot!

Outcomes