Forum:Display the current user's username?

Is there any code to render a current user's username (ex. for me it would say iggyvolz)? I want to implement this code, perhaps, in a situation where it would display the edit links only for admins. If this can only be done by JS or CSS, I'm okay with that. Iggyvolz 18:11, May 13, 2012 (UTC)