membership display username with shortcode

Hi, can you please advise if there is a way to display a logged in users username (or any other of their details) on a page?

Thanks,
James