Get userName from ClientContext or DesignerContext

Hi all, how is it possible to get the current authenticated username from the ClientContext or DesignerContext? I only need the username. Thanks,

GatewayConnectionManager.getInstance().getUsername()

Thanks a lot!